seccomp: Get compat syscalls from asm-generic header
authorMatt Redfearn <[email protected]>
Tue, 29 Mar 2016 08:35:32 +0000 (09:35 +0100)
committerRalf Baechle <[email protected]>
Fri, 13 May 2016 12:02:00 +0000 (14:02 +0200)
commitc983f0e8677d5d686ea81de13f9c9ac34f21a2a7
tree3c7412369fbe45f41393515e48c44beb1921b614
parenta400bed6d105c23d3673f763596e4b85de14e41a
seccomp: Get compat syscalls from asm-generic header

Move retrieval of compat syscall numbers into inline function defined in
asm-generic header so that arches may override it.

[[email protected]: Resolve merge conflict.]

Suggested-by: Paul Burton <[email protected]>
Signed-off-by: Matt Redfearn <[email protected]>
Acked-by: Kees Cook <[email protected]>
Cc: [email protected]
Cc: Arnd Bergmann <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Will Drewry <[email protected]>
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/12978/
Signed-off-by: Ralf Baechle <[email protected]>
include/asm-generic/seccomp.h
kernel/seccomp.c