projects
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e96f92f
)
shared/seccomp: add sync_file_range2
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Mon, 19 Aug 2019 06:51:39 +0000
(08:51 +0200)
committer
Michael Biebl
<biebl@debian.org>
Thu, 29 Aug 2019 14:18:18 +0000
(15:18 +0100)
Some architectures need the arguments to be reordered because of alignment
issues. Otherwise, it's the same as sync_file_range.
(cherry picked from commit
a8fb09f57395613d472d7b555db6e0ce802a8c84
)
Gbp-Pq: Name shared-seccomp-add-sync_file_range2.patch
src/shared/seccomp-util.c
patch
|
blob
|
history
diff --git
a/src/shared/seccomp-util.c
b/src/shared/seccomp-util.c
index 8ed09fd49e9ceb34cc8cf0fb79d738aedda83719..11cf87116e45ba143d17f0b83795b9fd702042e9 100644
(file)
--- a/
src/shared/seccomp-util.c
+++ b/
src/shared/seccomp-util.c
@@
-759,6
+759,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] = {