Commit e57e4193 authored by Russell King's avatar Russell King

ARM: wire up memfd_create syscall

Add the memfd_create syscall to ARM.
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent eb645253
...@@ -411,6 +411,7 @@ ...@@ -411,6 +411,7 @@
#define __NR_renameat2 (__NR_SYSCALL_BASE+382) #define __NR_renameat2 (__NR_SYSCALL_BASE+382)
#define __NR_seccomp (__NR_SYSCALL_BASE+383) #define __NR_seccomp (__NR_SYSCALL_BASE+383)
#define __NR_getrandom (__NR_SYSCALL_BASE+384) #define __NR_getrandom (__NR_SYSCALL_BASE+384)
#define __NR_memfd_create (__NR_SYSCALL_BASE+385)
/* /*
* The following SWIs are ARM private. * The following SWIs are ARM private.
......
...@@ -394,6 +394,7 @@ ...@@ -394,6 +394,7 @@
CALL(sys_renameat2) CALL(sys_renameat2)
CALL(sys_seccomp) CALL(sys_seccomp)
CALL(sys_getrandom) CALL(sys_getrandom)
/* 385 */ CALL(sys_memfd_create)
#ifndef syscalls_counted #ifndef syscalls_counted
.equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
#define syscalls_counted #define syscalls_counted
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment