projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fcae8e
)
Fix typo in statx macro (#7180)
author
Antonio Rojas
<arojas@archlinux.org>
Fri, 10 Nov 2017 10:07:36 +0000
(11:07 +0100)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Fri, 10 Nov 2017 10:07:36 +0000
(11:07 +0100)
This makes statx properly whitelisted in supported systems.
src/shared/seccomp-util.c
patch
|
blob
|
history
diff --git
a/src/shared/seccomp-util.c
b/src/shared/seccomp-util.c
index
14a75bf
..
f877016
100644
(file)
--- a/
src/shared/seccomp-util.c
+++ b/
src/shared/seccomp-util.c
@@
-465,7
+465,7
@@
const SyscallFilterSet syscall_filter_sets[_SYSCALL_FILTER_SET_MAX] = {
"stat64\0"
"statfs\0"
"statfs64\0"
-#ifdef __
P
NR_statx
+#ifdef __NR_statx
"statx\0"
#endif
"symlink\0"