From: Andrea Arcangeli Date: Fri, 24 Jun 2005 05:00:45 +0000 (-0700) Subject: [PATCH] ppc64: fix seccomp with 32-bit userland X-Git-Tag: v2.6.13-rc1~68^2~380 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7286aa9b9ab35f20b1ff16d867f4535701df99b5;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed