aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2015-01-10 16:01:21 -0500
committerHelge Deller <deller@gmx.de>2015-02-16 16:31:09 -0500
commitfb96a796f2b42eb20cfad80c5e7e2702948a0794 (patch)
tree0f3af675203c44d57fe7cbd76baa29ed6c1ed3db /arch/parisc
parent1fa185ebcbcefdc5229c783450c9f0439a69f0c1 (diff)
parisc: Wire up execveat syscall
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/include/uapi/asm/unistd.h3
-rw-r--r--arch/parisc/kernel/syscall_table.S1
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/parisc/include/uapi/asm/unistd.h b/arch/parisc/include/uapi/asm/unistd.h
index 5f5c0373de63..abfa745d8edf 100644
--- a/arch/parisc/include/uapi/asm/unistd.h
+++ b/arch/parisc/include/uapi/asm/unistd.h
@@ -834,8 +834,9 @@
834#define __NR_getrandom (__NR_Linux + 339) 834#define __NR_getrandom (__NR_Linux + 339)
835#define __NR_memfd_create (__NR_Linux + 340) 835#define __NR_memfd_create (__NR_Linux + 340)
836#define __NR_bpf (__NR_Linux + 341) 836#define __NR_bpf (__NR_Linux + 341)
837#define __NR_execveat (__NR_Linux + 342)
837 838
838#define __NR_Linux_syscalls (__NR_bpf + 1) 839#define __NR_Linux_syscalls (__NR_execveat + 1)
839 840
840 841
841#define __IGNORE_select /* newselect */ 842#define __IGNORE_select /* newselect */
diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S
index fe4f0b89bf8f..5a8997d63899 100644
--- a/arch/parisc/kernel/syscall_table.S
+++ b/arch/parisc/kernel/syscall_table.S
@@ -437,6 +437,7 @@
437 ENTRY_SAME(getrandom) 437 ENTRY_SAME(getrandom)
438 ENTRY_SAME(memfd_create) /* 340 */ 438 ENTRY_SAME(memfd_create) /* 340 */
439 ENTRY_SAME(bpf) 439 ENTRY_SAME(bpf)
440 ENTRY_COMP(execveat)
440 441
441 /* Nothing yet */ 442 /* Nothing yet */
442 443