]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf88dd9bf78015a149acafeedc39c7b099f7a5328
treeaff9945a78e60bec6c4bea1b91f9201caff7f72b
parent56a5d5e5f5c4d081ad6f52203c4a0108a3d1ac0b
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]