Skip to content

Commit 703e6a6

Browse files
committed
[IA64] Wire up memfd_create() system call
Yet another system call. This one added by: commit 9183df2 shm: add memfd_create() syscall Signed-off-by: Tony Luck <tony.luck@intel.com>
1 parent 7d1311b commit 703e6a6

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎arch/ia64/include/asm/unistd.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313

14-
#define NR_syscalls 316 /* length of syscall table */
14+
#define NR_syscalls 317 /* length of syscall table */
1515

1616
/*
1717
* The following defines stop scripts/checksyscalls.sh from complaining about

‎arch/ia64/include/uapi/asm/unistd.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,5 +329,6 @@
329329
#define __NR_sched_getattr 1337
330330
#define __NR_renameat2 1338
331331
#define __NR_getrandom 1339
332+
#define __NR_memfd_create 1339
332333

333334
#endif /* _UAPI_ASM_IA64_UNISTD_H */

‎arch/ia64/kernel/entry.S‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1777,6 +1777,7 @@ sys_call_table:
17771777
data8 sys_sched_getattr
17781778
data8 sys_renameat2
17791779
data8 sys_getrandom
1780+
data8 sys_memfd_create // 1340
17801781

17811782
.org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls
17821783
#endif /* __IA64_ASM_PARAVIRTUALIZED_NATIVE */

0 commit comments

Comments
 (0)