diff options
author | Will Deacon <will.deacon@arm.com> | 2014-08-11 14:24:47 +0100 |
---|---|---|
committer | Maciej Wereski <m.wereski@partner.samsung.com> | 2014-12-22 09:16:35 +0100 |
commit | 448ce9355475d6ecc6d8bef0ded3083d36d36054 (patch) | |
tree | bafadf9c50c1ce5e90c08ecf75611bb16723dec1 | |
parent | 62fdf5cfa34154432afe76cd9763333c02bf1643 (diff) | |
download | linux-3.10-448ce9355475d6ecc6d8bef0ded3083d36d36054.tar.gz linux-3.10-448ce9355475d6ecc6d8bef0ded3083d36d36054.tar.bz2 linux-3.10-448ce9355475d6ecc6d8bef0ded3083d36d36054.zip |
asm-generic: add memfd_create system call to unistd.h
Commit 9183df25fe7b ("shm: add memfd_create() syscall") added a new
system call (memfd_create) but didn't update the asm-generic unistd
header.
This patch adds the new system call to the asm-generic version of
unistd.h so that it can be used by architectures such as arm64.
Cc: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
-rw-r--r-- | include/uapi/asm-generic/unistd.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h index 0cc74c4403e..9170931b0dc 100644 --- a/include/uapi/asm-generic/unistd.h +++ b/include/uapi/asm-generic/unistd.h @@ -692,9 +692,16 @@ __SC_COMP(__NR_process_vm_writev, sys_process_vm_writev, \ __SYSCALL(__NR_kcmp, sys_kcmp) #define __NR_finit_module 273 __SYSCALL(__NR_finit_module, sys_finit_module) +__SYSCALL(274, sys_ni_syscall) /* 274 for sched_setattr */ +__SYSCALL(274, sys_ni_syscall) /* 275 for sched_getattr */ +__SYSCALL(274, sys_ni_syscall) /* 276 for renameat2 */ +__SYSCALL(274, sys_ni_syscall) /* 277 for seccomp */ +__SYSCALL(274, sys_ni_syscall) /* 278 for getrandom */ +#define _NR_memfd_create 279 +__SYSCALL(__NR_memfd_create, sys_memfd_create) #undef __NR_syscalls -#define __NR_syscalls 274 +#define __NR_syscalls 280 /* * All syscalls below here should go away really, |