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-12 17:09:08 +0100 |
commit | e68eb7b948716154420a7f24490e6e56ece6b83c (patch) | |
tree | f631d047495e787ecb3a92f24228fa5c05d3da5d /include | |
parent | 37c036769074da4ea991df4bb829c0a78ce4bc40 (diff) | |
download | linux-3.10-e68eb7b948716154420a7f24490e6e56ece6b83c.tar.gz linux-3.10-e68eb7b948716154420a7f24490e6e56ece6b83c.tar.bz2 linux-3.10-e68eb7b948716154420a7f24490e6e56ece6b83c.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>
Diffstat (limited to 'include')
-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, |