]> 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)
commita97efdc74de3004139d8f7d929c8545640d66182
treeaff9945a78e60bec6c4bea1b91f9201caff7f72b
parent692dd617e804c0270acff8eb602157c930b695fa
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]