shared/seccomp: add sync_file_range2
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 19 Aug 2019 06:51:39 +0000 (08:51 +0200)
committerSalvatore Bonaccorso <carnil@debian.org>
Thu, 8 Jul 2021 13:03:45 +0000 (14:03 +0100)
commit8933639d596e65c143dcdf34cdea81f19c26ce8e
tree531d3674a7497fe67e1764ed46fdbe65282b598c
parent724b0b9a1fb6ef4b5f5f5d1f64a9c9a5c95eddf9
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.

(cherry picked from commit a8fb09f57395613d472d7b555db6e0ce802a8c84)

Gbp-Pq: Name shared-seccomp-add-sync_file_range2.patch
src/shared/seccomp-util.c