From: David Woodhouse Date: Fri, 22 Sep 2006 08:32:45 +0000 (+0100) Subject: [POWERPC] Fix PPC32 SECCOMP, unexport do_syscall_trace_{enter,leave} X-Git-Tag: v2.6.19-rc1~219^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94983cb7881dff760d724759105a6f67935b571d;p=pandora-kernel.git [POWERPC] Fix PPC32 SECCOMP, unexport do_syscall_trace_{enter,leave} The secure_computing() call which automatically aborts a process if it tries to execute a syscall it shouldn't is much more useful if we actually do it _before_ the syscall, rather than afterwards. PPC64 got this right, but the original incorrect behaviour inherited from arch/ppc was preserved by ifdefs. Make it the same on PPC32 too. Also, I see no need to export do_syscall_trace_{leave,enter} on ppc32 -- they were only exported because the old do_syscall_trace() (which they replaced) used to be. Signed-off-by: David Woodhouse Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed