summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorAndrea Arcangeli <andrea@cpushare.com>2005-06-23 22:00:45 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-24 00:05:18 -0700
commit7286aa9b9ab35f20b1ff16d867f4535701df99b5 (patch)
treec816ea0350a0f0c7ac503c6020a6ea5398a59ee4 /security
parent16822e62053e73fa7def9decc38a7e287d27d980 (diff)
downloadop-kernel-dev-7286aa9b9ab35f20b1ff16d867f4535701df99b5.zip
op-kernel-dev-7286aa9b9ab35f20b1ff16d867f4535701df99b5.tar.gz
[PATCH] ppc64: fix seccomp with 32-bit userland
The seccomp check has to happen when entering the syscall and not when exiting it or regs->gpr[0] contains garabge during signal handling in ppc64_rt_sigreturn (this actually might be a bug too, but an orthogonal one, since we really have to run the check before invoking the syscall and not after it). Signed-off-by: Andrea Arcangeli <andrea@cpushare.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud