From c38eb5d5f5676f440605e546b18e290d623c72db Mon Sep 17 00:00:00 2001 From: Russell King Date: Tue, 2 Jul 2019 02:57:25 +0300 Subject: [PATCH] ARM: wire up memfd_create syscall Add the memfd_create syscall to ARM. Change-Id: I0cb81d70e5a224fde6a5d33c9a04c40c4c184a9e Signed-off-by: Russell King --- arch/arm/kernel/calls.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/kernel/calls.S b/arch/arm/kernel/calls.S index 3aec9455af8..25434b2dee3 100644 --- a/arch/arm/kernel/calls.S +++ b/arch/arm/kernel/calls.S @@ -393,7 +393,8 @@ CALL(sys_ni_syscall) /* reserved sys_sched_getattr */ CALL(sys_ni_syscall) /* reserved sys_renameat2 */ CALL(sys_seccomp) - CALL(sys_getrandom) +/* 385 */ CALL(sys_getrandom) + CALL(sys_memfd_create) #ifndef syscalls_counted .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls -- 2.20.1