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
This commit is contained in:
Szabolcs Nagy
2014-12-16 00:20:36 +01:00
committed by Rich Felker
parent 91f15e2d0d
commit f90fafea3c
8 changed files with 20 additions and 0 deletions

View File

@ -263,6 +263,7 @@
#define __NR_seccomp 277
#define __NR_getrandom 278
#define __NR_memfd_create 279
#define __NR_bpf 280
#define SYS_io_setup __NR_io_setup
#define SYS_io_destroy __NR_io_destroy
@ -529,3 +530,4 @@
#define SYS_seccomp __NR_seccomp
#define SYS_getrandom __NR_getrandom
#define SYS_memfd_create __NR_memfd_create
#define SYS_bpf __NR_bpf