提交 2d605a30 编写于 作者: R Russell King

ARM: enable bpf syscall

Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 f114040e
...@@ -412,6 +412,7 @@ ...@@ -412,6 +412,7 @@
#define __NR_seccomp (__NR_SYSCALL_BASE+383) #define __NR_seccomp (__NR_SYSCALL_BASE+383)
#define __NR_getrandom (__NR_SYSCALL_BASE+384) #define __NR_getrandom (__NR_SYSCALL_BASE+384)
#define __NR_memfd_create (__NR_SYSCALL_BASE+385) #define __NR_memfd_create (__NR_SYSCALL_BASE+385)
#define __NR_bpf (__NR_SYSCALL_BASE+386)
/* /*
* The following SWIs are ARM private. * The following SWIs are ARM private.
......
...@@ -395,6 +395,7 @@ ...@@ -395,6 +395,7 @@
CALL(sys_seccomp) CALL(sys_seccomp)
CALL(sys_getrandom) CALL(sys_getrandom)
/* 385 */ CALL(sys_memfd_create) /* 385 */ CALL(sys_memfd_create)
CALL(sys_bpf)
#ifndef syscalls_counted #ifndef syscalls_counted
.equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
#define syscalls_counted #define syscalls_counted
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册