Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xenomai
ipipe-arm
Commits
2d605a30
Commit
2d605a30
authored
Oct 28, 2014
by
Russell King
Browse files
ARM: enable bpf syscall
Signed-off-by:
Russell King
<
rmk+kernel@arm.linux.org.uk
>
parent
f114040e
Changes
2
Hide whitespace changes
Inline
Side-by-side
arch/arm/include/uapi/asm/unistd.h
View file @
2d605a30
...
...
@@ -412,6 +412,7 @@
#define __NR_seccomp (__NR_SYSCALL_BASE+383)
#define __NR_getrandom (__NR_SYSCALL_BASE+384)
#define __NR_memfd_create (__NR_SYSCALL_BASE+385)
#define __NR_bpf (__NR_SYSCALL_BASE+386)
/*
* The following SWIs are ARM private.
...
...
arch/arm/kernel/calls.S
View file @
2d605a30
...
...
@@ -395,6 +395,7 @@
CALL
(
sys_seccomp
)
CALL
(
sys_getrandom
)
/*
385
*/
CALL
(
sys_memfd_create
)
CALL
(
sys_bpf
)
#ifndef syscalls_counted
.
equ
syscalls_padding
,
((
NR_syscalls
+
3
)
&
~
3
)
-
NR_syscalls
#define syscalls_counted
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment