summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2014-08-11 14:23:37 +0100
committerMaciej Wereski <m.wereski@partner.samsung.com>2014-12-22 09:16:35 +0100
commit62fdf5cfa34154432afe76cd9763333c02bf1643 (patch)
treec4121dfa0566aa048dcdacd7632a25df315713d4
parent75ada2228b9404e6bc6b6012743bd0f1f0167d54 (diff)
downloadlinux-3.10-62fdf5cfa34154432afe76cd9763333c02bf1643.tar.gz
linux-3.10-62fdf5cfa34154432afe76cd9763333c02bf1643.tar.bz2
linux-3.10-62fdf5cfa34154432afe76cd9763333c02bf1643.zip
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 <will.deacon@arm.com>
-rw-r--r--arch/arm64/include/asm/unistd32.h9
1 files changed, 8 insertions, 1 deletions
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.