Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xcap-capability-linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xcap
xcap-capability-linux
Commits
2d605a30
Commit
2d605a30
authored
Oct 28, 2014
by
Russell King
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
arch/arm/include/uapi/asm/unistd.h
arch/arm/include/uapi/asm/unistd.h
+1
-0
arch/arm/kernel/calls.S
arch/arm/kernel/calls.S
+1
-0
No files found.
arch/arm/include/uapi/asm/unistd.h
View file @
2d605a30
...
@@ -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.
...
...
arch/arm/kernel/calls.S
View file @
2d605a30
...
@@ -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
...
...
Vikram Narayanan
@vikram
Mentioned in commit
97b56be1
·
Oct 31, 2016
Mentioned in commit
97b56be1
Mentioned in commit 97b56be10352a70c82dc51f187f6a77ffde50e40
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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