diff options
author | Szabolcs Nagy <nsz@port70.net> | 2015-02-09 22:53:20 +0100 |
---|---|---|
committer | Szabolcs Nagy <nsz@port70.net> | 2015-02-09 23:00:56 +0100 |
commit | f54c28cba2707c280f8285c247550358c44b5984 (patch) | |
tree | fc71372b059065e92ce8e7e40c3839f88e9f6c95 /arch/i386 | |
parent | 70572dce07a631e2f818b34f5679c57eeebc9779 (diff) | |
download | musl-f54c28cba2707c280f8285c247550358c44b5984.tar.gz musl-f54c28cba2707c280f8285c247550358c44b5984.tar.bz2 musl-f54c28cba2707c280f8285c247550358c44b5984.tar.xz musl-f54c28cba2707c280f8285c247550358c44b5984.zip |
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/i386')
-rw-r--r-- | arch/i386/bits/syscall.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/i386/bits/syscall.h b/arch/i386/bits/syscall.h index 2378053b..2902f808 100644 --- a/arch/i386/bits/syscall.h +++ b/arch/i386/bits/syscall.h @@ -356,6 +356,7 @@ #define __NR_getrandom 355 #define __NR_memfd_create 356 #define __NR_bpf 357 +#define __NR_execveat 358 /* Repeated with SYS_ prefix */ @@ -718,3 +719,4 @@ #define SYS_getrandom 355 #define SYS_memfd_create 356 #define SYS_bpf 357 +#define SYS_execveat 358 |