arm64: compat: wire up memfd_create syscall for aarch32

arch/arm/ just grew support for the new memfd_create syscall,
so add it to our compat layer too.

Change-Id: I57e35a816741c67361ea2bf795aa259ef30620ec
This commit is contained in:
Will Deacon 2019-12-02 10:26:30 +01:00 committed by ripee
parent 35875b3c20
commit 6c28c3c3b8
2 changed files with 3 additions and 1 deletions

View File

@ -44,7 +44,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 385
#define __NR_compat_syscalls 386
#endif
#define __ARCH_WANT_SYS_CLONE

View File

@ -791,3 +791,5 @@ __SYSCALL(382, sys_ni_syscall)
__SYSCALL(__NR_seccomp, sys_seccomp)
#define __NR_getrandom 384
__SYSCALL(__NR_getrandom, sys_getrandom)
#define __NR_memfd_create 385
__SYSCALL(__NR_memfd_create, sys_memfd_create)