diff options
author | Will Deacon <will.deacon@arm.com> | 2014-08-11 14:23:37 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2014-08-18 19:47:04 +0100 |
commit | a97a42c47608d0bb6f2dfc2e162cc84a27beb43a (patch) | |
tree | 878ecd27345e267a4811fab938cd3f3a99b7d2d0 /arch/arm64/include/asm/unistd32.h | |
parent | a3a80544acb3dfa97d43b8eee1332fe1fca7fe51 (diff) | |
download | blackbird-op-linux-a97a42c47608d0bb6f2dfc2e162cc84a27beb43a.tar.gz blackbird-op-linux-a97a42c47608d0bb6f2dfc2e162cc84a27beb43a.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>
Diffstat (limited to 'arch/arm64/include/asm/unistd32.h')
-rw-r--r-- | arch/arm64/include/asm/unistd32.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/unistd32.h b/arch/arm64/include/asm/unistd32.h index e242600c4046..da1f06b535e3 100644 --- a/arch/arm64/include/asm/unistd32.h +++ b/arch/arm64/include/asm/unistd32.h @@ -787,3 +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_getrandom 384 +__SYSCALL(__NR_getrandom, sys_getrandom) +#define __NR_memfd_create 385 +__SYSCALL(__NR_memfd_create, sys_memfd_create) |