chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8acf265
)
missing: add bpf() define for ARM definition
author
Hans-Christian Noren Egtvedt
<hegtvedt@cisco.com>
Wed, 11 Oct 2017 08:48:39 +0000
(10:48 +0200)
committer
Sven Eden
<yamakuzure@gmx.net>
Wed, 30 May 2018 05:50:03 +0000
(07:50 +0200)
src/basic/missing_syscall.h
patch
|
blob
|
history
diff --git
a/src/basic/missing_syscall.h
b/src/basic/missing_syscall.h
index 9948bef56bac53aad57d43ece99159321a490aac..9e3e2763344d9a1a3748984424e2eb41ccd08f91 100644
(file)
--- a/
src/basic/missing_syscall.h
+++ b/
src/basic/missing_syscall.h
@@
-332,6
+332,8
@@
static inline ssize_t copy_file_range(int fd_in, loff_t *off_in,
# define __NR_bpf 321
# elif defined __aarch64__
# define __NR_bpf 280
+# elif defined __arm__
+# define __NR_bpf 386
# elif defined __sparc__
# define __NR_bpf 349
# elif defined __s390__