Skip to content

Commit 2d605a3

Browse files
author
Russell King
committed
ARM: enable bpf syscall
Signed-off-by: Russell King <[email protected]>
1 parent f114040 commit 2d605a3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

arch/arm/include/uapi/asm/unistd.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,7 @@
412412
#define __NR_seccomp (__NR_SYSCALL_BASE+383)
413413
#define __NR_getrandom (__NR_SYSCALL_BASE+384)
414414
#define __NR_memfd_create (__NR_SYSCALL_BASE+385)
415+
#define __NR_bpf (__NR_SYSCALL_BASE+386)
415416

416417
/*
417418
* The following SWIs are ARM private.

arch/arm/kernel/calls.S

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,7 @@
395395
CALL(sys_seccomp)
396396
CALL(sys_getrandom)
397397
/* 385 */ CALL(sys_memfd_create)
398+
CALL(sys_bpf)
398399
#ifndef syscalls_counted
399400
.equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
400401
#define syscalls_counted

0 commit comments

Comments
 (0)