ARM: wire up memfd_create syscall
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 9 Aug 2014 07:43:11 +0000 (08:43 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 9 Aug 2014 13:07:59 +0000 (14:07 +0100)
Add the memfd_create syscall to ARM.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/uapi/asm/unistd.h
arch/arm/kernel/calls.S

index aa9e9262ace43bdc2b8face0ee8ab448b3479746..3aaa75cae90c912737efbe9ed834d437d0fcaf01 100644 (file)
 #define __NR_renameat2                 (__NR_SYSCALL_BASE+382)
 #define __NR_seccomp                   (__NR_SYSCALL_BASE+383)
 #define __NR_getrandom                 (__NR_SYSCALL_BASE+384)
+#define __NR_memfd_create              (__NR_SYSCALL_BASE+385)
 
 /*
  * The following SWIs are ARM private.
index 8e95c9ec94945790ee0cedc9ddd9af35854b398f..9f899d8fdccabb4751bddf48da8f522a17905c75 100644 (file)
                CALL(sys_renameat2)
                CALL(sys_seccomp)
                CALL(sys_getrandom)
+/* 385 */      CALL(sys_memfd_create)
 #ifndef syscalls_counted
 .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
 #define syscalls_counted