summaryrefslogtreecommitdiff
path: root/arch/or1k/bits/syscall.h
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2015-02-09 22:53:20 +0100
committerSzabolcs Nagy <nsz@port70.net>2015-02-09 23:00:56 +0100
commitf54c28cba2707c280f8285c247550358c44b5984 (patch)
treefc71372b059065e92ce8e7e40c3839f88e9f6c95 /arch/or1k/bits/syscall.h
parent70572dce07a631e2f818b34f5679c57eeebc9779 (diff)
downloadmusl-f54c28cba2707c280f8285c247550358c44b5984.tar.gz
add syscall numbers for the new execveat syscall
this syscall allows fexecve to be implemented without /proc, it is new in linux v3.19, added in commit 51f39a1f0cea1cacf8c787f652f26dfee9611874 (sh and microblaze do not have allocated syscall numbers yet) added a x32 fix as well: the io_setup and io_submit syscalls are no longer common with x86_64, so use the x32 specific numbers.
Diffstat (limited to 'arch/or1k/bits/syscall.h')
-rw-r--r--arch/or1k/bits/syscall.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/or1k/bits/syscall.h b/arch/or1k/bits/syscall.h
index b854bcaa..967db728 100644
--- a/arch/or1k/bits/syscall.h
+++ b/arch/or1k/bits/syscall.h
@@ -264,6 +264,7 @@
#define __NR_getrandom 278
#define __NR_memfd_create 279
#define __NR_bpf 280
+#define __NR_execveat 281
#define SYS_io_setup __NR_io_setup
#define SYS_io_destroy __NR_io_destroy
@@ -531,3 +532,4 @@
#define SYS_getrandom __NR_getrandom
#define SYS_memfd_create __NR_memfd_create
#define SYS_bpf __NR_bpf
+#define SYS_execveat __NR_execveat