]> git.baikalelectronics.ru Git - kernel.git/commit
x86: switch to using asm-generic for seccomp.h
authorKees Cook <keescook@chromium.org>
Thu, 16 Apr 2015 19:49:04 +0000 (12:49 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 17 Apr 2015 13:04:10 +0000 (09:04 -0400)
commita33f1a7cc4d21958915bda1c054cc707889659c6
treee126467f41f90475eaf8fe90efd4b4b771010228
parent585234ab0727c054d27335edc64bdd6f5f85a6b1
x86: 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 syscall override
is retained in 32-bit mode, and the ia32 syscall overrides are used in
the compat case. Remaining definitions were identical.

Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/include/asm/seccomp.h
arch/x86/include/asm/seccomp_32.h [deleted file]
arch/x86/include/asm/seccomp_64.h [deleted file]