OSDN Git Service

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)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Sat, 13 Dec 2014 15:14:22 +0000 (23:14 +0800)
commitba9607ff54763bcd5355a18af3fe5422c9ce0896
treeddf19cf8e666289b6a1805f7831bce54b8d06d7c
parent9b41affe863d9e41c0906fcd773df9f95586db43
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]