mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
From 54dc300a835692fc2550fd93a003ca98426b2a68 Mon Sep 17 00:00:00 2001
|
|
From: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
|
Date: Thu, 21 Aug 2014 17:56:43 +0900
|
|
Subject: [PATCH 10/12] arm64: add seccomp syscall for compat task
|
|
|
|
This patch allows compat task to issue seccomp() system call.
|
|
|
|
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
|
|
Reviewed-by: Kees Cook <keescook@chromium.org>
|
|
---
|
|
arch/arm64/include/asm/unistd32.h | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
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)
|
|
__SYSCALL(__NR_sched_getattr, sys_sched_getattr)
|
|
#define __NR_renameat2 382
|
|
__SYSCALL(__NR_renameat2, sys_renameat2)
|
|
- /* 383 for seccomp */
|
|
+#define __NR_seccomp 383
|
|
+__SYSCALL(__NR_seccomp, sys_seccomp)
|
|
#define __NR_getrandom 384
|
|
__SYSCALL(__NR_getrandom, sys_getrandom)
|
|
#define __NR_memfd_create 385
|
|
--
|
|
2.19.0
|
|
|