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/x32/bits/syscall.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/x32') diff --git a/arch/x32/bits/syscall.h b/arch/x32/bits/syscall.h index fc4146e9..67330c27 100644 --- a/arch/x32/bits/syscall.h +++ b/arch/x32/bits/syscall.h @@ -277,6 +277,8 @@ #define __NR_seccomp (__X32_SYSCALL_BIT + 317) #define __NR_getrandom (__X32_SYSCALL_BIT + 318) #define __NR_memfd_create (__X32_SYSCALL_BIT + 319) +#define __NR_kexec_file_load (__X32_SYSCALL_BIT + 320) +#define __NR_bpf (__X32_SYSCALL_BIT + 321) #define __NR_rt_sigaction (__X32_SYSCALL_BIT + 512) #define __NR_rt_sigreturn (__X32_SYSCALL_BIT + 513) @@ -604,6 +606,8 @@ #define SYS_seccomp __NR_seccomp #define SYS_getrandom __NR_getrandom #define SYS_memfd_create __NR_memfd_create +#define SYS_kexec_file_load __NR_kexec_file_load +#define SYS_bpf __NR_bpf #define SYS_rt_sigaction __NR_rt_sigaction #define SYS_rt_sigreturn __NR_rt_sigreturn -- cgit v1.2.1