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

@@ -381,6 +381,7 @@
#define __NR_seccomp 384
#define __NR_getrandom 385
#define __NR_memfd_create 386
#define __NR_bpf 387
/* Repeated with SYS_ prefix */
@@ -768,3 +769,4 @@
#define SYS_seccomp 384
#define SYS_getrandom 385
#define SYS_memfd_create 386
#define SYS_bpf 387