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-12 16:58:17 +0100
commit37c036769074da4ea991df4bb829c0a78ce4bc40 (patch)
treed35c7516b4d201ab7d6465168f65db00b1a649ae
parent3c8559fb9caf9f49b6fdb76e2c1e3c9eb0c0a79a (diff)
downloadlinux-3.10-37c036769074da4ea991df4bb829c0a78ce4bc40.tar.gz
linux-3.10-37c036769074da4ea991df4bb829c0a78ce4bc40.tar.bz2
linux-3.10-37c036769074da4ea991df4bb829c0a78ce4bc40.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.