asm-generic: add generic seccomp.h for secure computing mode 1
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Fri, 28 Nov 2014 05:26:36 +0000 (05:26 +0000)
committerWill Deacon <will.deacon@arm.com>
Fri, 28 Nov 2014 10:24:58 +0000 (10:24 +0000)
commit65a2ae8d5bd0ab9fb5846c0223d5dcf74e87f9d2
treee8e63b026fb85959d247e21e90ad1c61e1f19adf
parent1014c81d9a5546b64352c04cdb93494aceb317fc
asm-generic: add generic seccomp.h for secure computing mode 1

Those values (__NR_seccomp_*) are used solely in secure_computing()
to identify mode 1 system calls. If compat system calls have different
syscall numbers, asm/seccomp.h may override them.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
include/asm-generic/seccomp.h [new file with mode: 0644]