• Kees Cook's avatar
    seccomp: allow COMPAT sigreturn overrides · ddaa27ee
    Kees Cook authored
    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: default avatarKees Cook <keescook@chromium.org>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: "H. Peter Anvin" <hpa@zytor.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Russell King <linux@arm.linux.org.uk>
    Cc: Michal Simek <monstr@monstr.eu>
    Cc: Ralf Baechle <ralf@linux-mips.org>
    Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
    Cc: Helge Deller <deller@gmx.de>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Michael Ellerman <mpe@ellerman.id.au>
    Cc: "David S. Miller" <davem@davemloft.net>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Will Deacon <will.deacon@arm.com>
    Cc: Daniel Borkmann <dborkman@redhat.com>
    Cc: Laura Abbott <lauraa@codeaurora.org>
    Cc: James Hogan <james.hogan@imgtec.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    ddaa27ee
seccomp.h 979 Bytes