summaryrefslogtreecommitdiffstats
path: root/src/shared
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-08-19 08:51:39 +0200
committerLennart Poettering <lennart@poettering.net>2019-08-19 11:10:40 +0200
commita8fb09f57395613d472d7b555db6e0ce802a8c84 (patch)
treec4ead6ec179c2132d43db924fab80d978a5621a6 /src/shared
parentMerge pull request #13235 from yuwata/network-routing-policy-rule-family-13233 (diff)
downloadsystemd-a8fb09f57395613d472d7b555db6e0ce802a8c84.tar.xz
systemd-a8fb09f57395613d472d7b555db6e0ce802a8c84.zip
shared/seccomp: add sync_file_range2
Some architectures need the arguments to be reordered because of alignment issues. Otherwise, it's the same as sync_file_range.
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/seccomp-util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/seccomp-util.c b/src/shared/seccomp-util.c
index 4e605523d9..acfe435283 100644
--- a/src/shared/seccomp-util.c
+++ b/src/shared/seccomp-util.c
@@ -760,6 +760,7 @@ const SyscallFilterSet syscall_filter_sets[_SYSCALL_FILTER_SET_MAX] = {
"msync\0"
"sync\0"
"sync_file_range\0"
+ "sync_file_range2\0"
"syncfs\0"
},
[SYSCALL_FILTER_SET_SYSTEM_SERVICE] = {