From 93cfbb830144d1f395c40baade09cd8dc44fb498 Mon Sep 17 00:00:00 2001 From: Will Deacon Date: Mon, 11 Aug 2014 14:23:37 +0100 Subject: arm64: compat: wire up memfd_create and getrandom syscalls for aarch32 arch/arm/ just grew support for the new memfd_create and getrandom syscalls, so add them to our compat layer too. Signed-off-by: Will Deacon Origin: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a97a42c47608d0bb6f2dfc2e162cc84a27beb43a Backported-by: Maciej Wereski getrandom isn't wired. Change-Id: I0bfb09e924d839ede0f998a73a4b9a395359a1b6 Signed-off-by: Maciej Wereski --- arch/arm64/include/asm/unistd32.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm64/include/asm/unistd32.h b/arch/arm64/include/asm/unistd32.h index 58125bf008d..4e95cd3898b 100644 --- a/arch/arm64/include/asm/unistd32.h +++ b/arch/arm64/include/asm/unistd32.h @@ -400,8 +400,15 @@ __SYSCALL(375, sys_setns) __SYSCALL(376, compat_sys_process_vm_readv) __SYSCALL(377, compat_sys_process_vm_writev) __SYSCALL(378, sys_ni_syscall) /* 378 for kcmp */ +__SYSCALL(379, sys_ni_syscall) /* 379 for finit_module */ +__SYSCALL(380, sys_ni_syscall) /* 380 for sched_setattr */ +__SYSCALL(381, sys_ni_syscall) /* 381 for sched_getattr */ +__SYSCALL(382, sys_ni_syscall) /* 382 for renameat2 */ +__SYSCALL(383, sys_ni_syscall) /* 383 for seccomp */ +__SYSCALL(384, sys_ni_syscall) /* 384 for getrandom */ +__SYSCALL(385, sys_memfd_create) -#define __NR_compat_syscalls 379 +#define __NR_compat_syscalls 386 /* * Compat syscall numbers used by the AArch64 kernel. -- cgit v1.2.3