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:
84343de
)
add __nr_statx defines for extra architectures (#8872)
author
Adam Duskett
<Aduskett@gmail.com>
Wed, 2 May 2018 08:04:50 +0000
(
04:04
-0400)
committer
Sven Eden
<yamakuzure@gmx.net>
Thu, 28 Jun 2018 07:24:07 +0000
(09:24 +0200)
This includes:
- arm
- arm64
- alpha
- powerpc64
- sparc
Taken from kernel 4.16.6
(cherry picked from commit
773c84349d80c7a6f818f5909a160ddb7337987f
)
src/basic/missing_syscall.h
patch
|
blob
|
history
diff --git
a/src/basic/missing_syscall.h
b/src/basic/missing_syscall.h
index 018566887e759ac19957d240fa1c5d6aec5e8121..38e9e263efd460ac704d5a2a563ef4ffb693b703 100644
(file)
--- a/
src/basic/missing_syscall.h
+++ b/
src/basic/missing_syscall.h
@@
-418,8
+418,14
@@
static inline int missing_bpf(int cmd, union bpf_attr *attr, size_t size) {
#if !HAVE_STATX
# ifndef __NR_statx
-# if defined __i386__
+# if defined __aarch64__ || defined __arm__
+# define __NR_statx 397
+# elif defined __alpha__
+# define __NR_statx 522
+# elif defined __i386__ || defined __powerpc64__
# define __NR_statx 383
+# elif defined __sparc__
+# define __NR_statx 360
# elif defined __x86_64__
# define __NR_statx 332
# else