diff options
author | Will Deacon <will.deacon@arm.com> | 2014-08-11 14:23:37 +0100 |
---|---|---|
committer | Maciej Wereski <m.wereski@partner.samsung.com> | 2014-12-29 09:31:36 +0100 |
commit | 93cfbb830144d1f395c40baade09cd8dc44fb498 (patch) | |
tree | 54b256a08454c94875bedf09eae760c6bf2d6abb /arch | |
parent | 0174aa940cc102e1f3ecefc140a3a115b1cb3f2e (diff) | |
download | linux-3.10-93cfbb830144d1f395c40baade09cd8dc44fb498.tar.gz linux-3.10-93cfbb830144d1f395c40baade09cd8dc44fb498.tar.bz2 linux-3.10-93cfbb830144d1f395c40baade09cd8dc44fb498.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>
Origin: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a97a42c47608d0bb6f2dfc2e162cc84a27beb43a
Backported-by: Maciej Wereski <m.wereski@partner.samsung.com>
getrandom isn't wired.
Change-Id: I0bfb09e924d839ede0f998a73a4b9a395359a1b6
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm64/include/asm/unistd32.h | 9 |
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. |