powerpc: switch to using asm-generic for seccomp.h
authorKees Cook <keescook@chromium.org>
Thu, 16 Apr 2015 19:48:58 +0000 (12:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 17 Apr 2015 13:04:10 +0000 (09:04 -0400)
commit1a3aff9ec376666563c7a2223a1d6c19f908919d
treeaff9945a78e60bec6c4bea1b91f9201caff7f72b
parentcf7a71b602fe2255b5b42162fa39a3090a1ea2c7
powerpc: switch to using asm-generic for seccomp.h

Switch to using the newly created asm-generic/seccomp.h for the seccomp
strict mode syscall definitions.  The obsolete sigreturn in COMPAT mode is
retained as an override.  Remaining definitions are identical, though they
incorrectly appeared in uapi, which has been corrected.

Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/powerpc/include/asm/seccomp.h [new file with mode: 0644]
arch/powerpc/include/uapi/asm/Kbuild
arch/powerpc/include/uapi/asm/seccomp.h [deleted file]