Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a97a42c4 authored by Will Deacon's avatar Will Deacon
Browse files

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: default avatarWill Deacon <will.deacon@arm.com>
parent a3a80544
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@
#define __ARM_NR_compat_cacheflush	(__ARM_NR_COMPAT_BASE+2)
#define __ARM_NR_compat_set_tls		(__ARM_NR_COMPAT_BASE+5)

#define __NR_compat_syscalls		383
#define __NR_compat_syscalls		386
#endif

#define __ARCH_WANT_SYS_CLONE
+5 −0
Original line number Diff line number Diff line
@@ -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)