summaryrefslogtreecommitdiff
path: root/arch/i386
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2014-12-16 00:20:36 +0100
committerRich Felker <dalias@aerifal.cx>2014-12-23 01:44:19 -0500
commitf90fafea3c5f1acd7b9bc8e720b417e2dba1d92d (patch)
tree31ee640733cf370e82122737c6aa1cfbcf793012 /arch/i386
parent91f15e2d0d7621a3ce7b4ff8f3dbc61119b44cc7 (diff)
downloadmusl-f90fafea3c5f1acd7b9bc8e720b417e2dba1d92d.tar.gz
musl-f90fafea3c5f1acd7b9bc8e720b417e2dba1d92d.tar.bz2
musl-f90fafea3c5f1acd7b9bc8e720b417e2dba1d92d.tar.xz
musl-f90fafea3c5f1acd7b9bc8e720b417e2dba1d92d.zip
add new syscall numbers for bpf and kexec_file_load
these syscalls are new in linux v3.18, bpf is present on all supported archs except sh, kexec_file_load is only allocted for x86_64 and x32 yet. bpf was added in linux commit 99c55f7d47c0dc6fc64729f37bf435abf43f4c60 kexec_file_load syscall number was allocated in commit f0895685c7fd8c938c91a9d8a6f7c11f22df58d2
Diffstat (limited to 'arch/i386')
-rw-r--r--arch/i386/bits/syscall.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/i386/bits/syscall.h b/arch/i386/bits/syscall.h
index 7584f30d..2378053b 100644
--- a/arch/i386/bits/syscall.h
+++ b/arch/i386/bits/syscall.h
@@ -355,6 +355,7 @@
#define __NR_seccomp 354
#define __NR_getrandom 355
#define __NR_memfd_create 356
+#define __NR_bpf 357
/* Repeated with SYS_ prefix */
@@ -716,3 +717,4 @@
#define SYS_seccomp 354
#define SYS_getrandom 355
#define SYS_memfd_create 356
+#define SYS_bpf 357