Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa1c45e7 authored by AKASHI Takahiro's avatar AKASHI Takahiro Committed by Daniel Kurtz
Browse files

arm64: add seccomp syscall for compat task



This patch allows compat task to issue seccomp() system call.

Reviewed-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarAKASHI Takahiro <takahiro.akashi@linaro.org>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
(cherry picked from commit e185fab7e13087cbd1f7e281d2698f07dbcdd44e)
Signed-off-by: default avatarDaniel Kurtz <djkurtz@google.com>
parent 90d8d0b1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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