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

@ -352,6 +352,7 @@
#define __NR_seccomp 4352
#define __NR_getrandom 4353
#define __NR_memfd_create 4354
#define __NR_bpf 4355
/* Repeated with SYS_ prefix */
@ -709,3 +710,4 @@
#define SYS_seccomp 4352
#define SYS_getrandom 4353
#define SYS_memfd_create 4354
#define SYS_bpf 4355