projects
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f31776
)
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>
Fri, 29 Jan 2021 14:16:06 +0000
(14:16 +0000)
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 cc58b3c07879d4bb0d7fd143e239c4bbd49bd96e..958128c61bb453599db223fb871d2a710241cbd9 100644
(file)
--- a/
src/shared/seccomp-util.c
+++ b/
src/shared/seccomp-util.c
@@
-756,6
+756,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] = {