From: Zbigniew Jędrzejewski-Szmek Date: Mon, 19 Aug 2019 06:51:39 +0000 (+0200) Subject: shared/seccomp: add sync_file_range2 X-Git-Tag: v243-rc2~17 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a8fb09f57395613d472d7b555db6e0ce802a8c84;p=thirdparty%2Fsystemd.git 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. --- diff --git a/src/shared/seccomp-util.c b/src/shared/seccomp-util.c index 4e605523d96..acfe4352839 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] = {