Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+6 -1
+1 -1
arch/arm64/include/asm/unistd.h
··· 41 41 #define __ARM_NR_compat_cacheflush (__ARM_NR_COMPAT_BASE+2) 42 42 #define __ARM_NR_compat_set_tls (__ARM_NR_COMPAT_BASE+5) 43 43 44 - #define __NR_compat_syscalls 383 44 + #define __NR_compat_syscalls 386 45 45 #endif 46 46 47 47 #define __ARCH_WANT_SYS_CLONE
+5
arch/arm64/include/asm/unistd32.h
··· 787 787 __SYSCALL(__NR_sched_getattr, sys_sched_getattr) 788 788 #define __NR_renameat2 382 789 789 __SYSCALL(__NR_renameat2, sys_renameat2) 790 + /* 383 for seccomp */ 791 + #define __NR_getrandom 384 792 + __SYSCALL(__NR_getrandom, sys_getrandom) 793 + #define __NR_memfd_create 385 794 + __SYSCALL(__NR_memfd_create, sys_memfd_create)