asm-generic: add generic seccomp.h for secure computing mode 1
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Thu, 4 Sep 2014 14:34:14 +0000 (15:34 +0100)
committerJP Abgrall <jpa@google.com>
Tue, 7 Oct 2014 22:27:44 +0000 (15:27 -0700)
commitdab10731da65a0deba46402ca9fadf6974676cc8
tree666d8ea82eb0842c18dcfc661a45044a2eea279f
parentfeb28436457d33fef9f264635291432df4b74122
asm-generic: add generic seccomp.h for secure computing mode 1

Note: This patch is from v6 of Takahiro's proposed
"arm64: add seccomp support" patchset (leecam@google.com)

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 <at> arndb.de>
Signed-off-by: AKASHI Takahiro <takahiro.akashi <at> linaro.org>
include/asm-generic/seccomp.h [new file with mode: 0644]