diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2014-11-28 00:26:37 -0500 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2014-11-28 05:24:58 -0500 |
commit | e185fab7e13087cbd1f7e281d2698f07dbcdd44e (patch) | |
tree | 577640b4e23fcad96287837e3f164d164f975cf4 /arch/arm64/include | |
parent | 65a2ae8d5bd0ab9fb5846c0223d5dcf74e87f9d2 (diff) |
arm64: add seccomp syscall for compat task
This patch allows compat task to issue seccomp() system call.
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>
Diffstat (limited to 'arch/arm64/include')
-rw-r--r-- | arch/arm64/include/asm/unistd32.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/unistd32.h b/arch/arm64/include/asm/unistd32.h index da1f06b535e3..812f19212b23 100644 --- a/arch/arm64/include/asm/unistd32.h +++ b/arch/arm64/include/asm/unistd32.h | |||
@@ -787,7 +787,8 @@ __SYSCALL(__NR_sched_setattr, sys_sched_setattr) | |||
787 | __SYSCALL(__NR_sched_getattr, sys_sched_getattr) | 787 | __SYSCALL(__NR_sched_getattr, sys_sched_getattr) |
788 | #define __NR_renameat2 382 | 788 | #define __NR_renameat2 382 |
789 | __SYSCALL(__NR_renameat2, sys_renameat2) | 789 | __SYSCALL(__NR_renameat2, sys_renameat2) |
790 | /* 383 for seccomp */ | 790 | #define __NR_seccomp 383 |
791 | __SYSCALL(__NR_seccomp, sys_seccomp) | ||
791 | #define __NR_getrandom 384 | 792 | #define __NR_getrandom 384 |
792 | __SYSCALL(__NR_getrandom, sys_getrandom) | 793 | __SYSCALL(__NR_getrandom, sys_getrandom) |
793 | #define __NR_memfd_create 385 | 794 | #define __NR_memfd_create 385 |