From f90fafea3c5f1acd7b9bc8e720b417e2dba1d92d Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Tue, 16 Dec 2014 00:20:36 +0100 Subject: 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 --- arch/arm/bits/syscall.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/arm/bits') diff --git a/arch/arm/bits/syscall.h b/arch/arm/bits/syscall.h index df23b83e..95b95769 100644 --- a/arch/arm/bits/syscall.h +++ b/arch/arm/bits/syscall.h @@ -339,6 +339,7 @@ #define __NR_seccomp 383 #define __NR_getrandom 384 #define __NR_memfd_create 385 +#define __NR_bpf 386 #define __ARM_NR_breakpoint 0x0f0001 #define __ARM_NR_cacheflush 0x0f0002 @@ -689,3 +690,4 @@ #define SYS_seccomp 383 #define SYS_getrandom 384 #define SYS_memfd_create 385 +#define SYS_bpf 386 -- cgit v1.2.1