summaryrefslogtreecommitdiffstats
path: root/arch/arm/include
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2014-06-10 15:40:23 -0700
committerKees Cook <keescook@chromium.org>2014-07-18 12:13:38 -0700
commit839669714f0a85d677283690e6e164fb698ce206 (patch)
treedd82d5c8a22cc28628c0a744a76db0ec533e9d7a /arch/arm/include
parent48dc92b9fc3926844257316e75ba11eb5c742b2c (diff)
downloadtalos-obmc-linux-839669714f0a85d677283690e6e164fb698ce206.tar.gz
talos-obmc-linux-839669714f0a85d677283690e6e164fb698ce206.zip
ARM: add seccomp syscall
Wires up the new seccomp syscall. Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/uapi/asm/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/uapi/asm/unistd.h b/arch/arm/include/uapi/asm/unistd.h
index ba94446c72d9..e21b4a069701 100644
--- a/arch/arm/include/uapi/asm/unistd.h
+++ b/arch/arm/include/uapi/asm/unistd.h
@@ -409,6 +409,7 @@
#define __NR_sched_setattr (__NR_SYSCALL_BASE+380)
#define __NR_sched_getattr (__NR_SYSCALL_BASE+381)
#define __NR_renameat2 (__NR_SYSCALL_BASE+382)
+#define __NR_seccomp (__NR_SYSCALL_BASE+383)
/*
* This may need to be greater than __NR_last_syscall+1 in order to
OpenPOWER on IntegriCloud