sparc: switch to using asm-generic for seccomp.h
authorKees Cook <keescook@chromium.org>
Thu, 16 Apr 2015 19:49:01 +0000 (12:49 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 17 Apr 2015 13:04:10 +0000 (09:04 -0400)
commitd0f138b0853e3b0a0bcd83f3019d34842e12951d
treed46c29848000245f35b539310efa90d8a7b4b2d1
parent1a3aff9ec376666563c7a2223a1d6c19f908919d
sparc: 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. Also
corrected missing #define for header reinclusion protection.

Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/sparc/include/asm/seccomp.h