seccomp: allow COMPAT sigreturn overrides
authorKees Cook <[email protected]>
Thu, 16 Apr 2015 19:48:44 +0000 (12:48 -0700)
committerLinus Torvalds <[email protected]>
Fri, 17 Apr 2015 13:04:09 +0000 (09:04 -0400)
commitddaa27ee627fb58d1a68eb1eb196393d64c25d1b
treeb573254b39da297416badb77ea40a12818c06a61
parentbe2a7fce397d82b7dc3fdbc61fb0bdab118e65ca
seccomp: allow COMPAT sigreturn overrides

Most architectures don't need to do much special for the strict-mode
seccomp syscall entries.  Remove the redundant headers and reduce the
others.

This patch (of 8):

Some architectures may need to override the compat sigreturn definition,
as is already possible in the non-compat case.

Signed-off-by: Kees Cook <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Russell King <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: "James E.J. Bottomley" <[email protected]>
Cc: Helge Deller <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: Laura Abbott <[email protected]>
Cc: James Hogan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/asm-generic/seccomp.h