Commit b739896dd262ca523497913b0ea232da56d6ee69

Authored by Tony Luck
1 parent 693a30b8f1

[IA64] Enable execveat syscall for ia64

See commit 51f39a1f0cea1cacf8c787f652f26dfee9611874
    syscalls: implement execveat() system call

Signed-off-by: Tony Luck <tony.luck@intel.com>

Showing 3 changed files with 3 additions and 1 deletions Side-by-side Diff

arch/ia64/include/asm/unistd.h
... ... @@ -11,7 +11,7 @@
11 11  
12 12  
13 13  
14   -#define NR_syscalls 318 /* length of syscall table */
  14 +#define NR_syscalls 319 /* length of syscall table */
15 15  
16 16 /*
17 17 * The following defines stop scripts/checksyscalls.sh from complaining about
arch/ia64/include/uapi/asm/unistd.h
... ... @@ -331,6 +331,7 @@
331 331 #define __NR_getrandom 1339
332 332 #define __NR_memfd_create 1340
333 333 #define __NR_bpf 1341
  334 +#define __NR_execveat 1342
334 335  
335 336 #endif /* _UAPI_ASM_IA64_UNISTD_H */
arch/ia64/kernel/entry.S
... ... @@ -1779,6 +1779,7 @@
1779 1779 data8 sys_getrandom
1780 1780 data8 sys_memfd_create // 1340
1781 1781 data8 sys_bpf
  1782 + data8 sys_execveat
1782 1783  
1783 1784 .org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls
1784 1785 #endif /* __IA64_ASM_PARAVIRTUALIZED_NATIVE */