Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linux-seco-imx
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Jira
Code
Merge requests
12
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Clea OS
bsp
nxp
linux-seco-imx
Commits
2d605a30
Commit
2d605a30
authored
10 years ago
by
Russell King
Browse files
Options
Downloads
Patches
Plain Diff
ARM: enable bpf syscall
Signed-off-by:
Russell King
<
rmk+kernel@arm.linux.org.uk
>
parent
f114040e
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
arch/arm/include/uapi/asm/unistd.h
+1
-0
1 addition, 0 deletions
arch/arm/include/uapi/asm/unistd.h
arch/arm/kernel/calls.S
+1
-0
1 addition, 0 deletions
arch/arm/kernel/calls.S
with
2 additions
and
0 deletions
arch/arm/include/uapi/asm/unistd.h
+
1
−
0
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.
...
...
This diff is collapsed.
Click to expand it.
arch/arm/kernel/calls.S
+
1
−
0
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment