]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-seccomp: Handle environment where sync() is already suppressed
authorDaan De Meyer <daan@amutable.com>
Sun, 5 Apr 2026 19:29:31 +0000 (21:29 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 14 Apr 2026 18:35:24 +0000 (20:35 +0200)
commit31441cb782139c19e69ea0037871eff5299bf228
treefb3e92b1d449d0096b7feb32d667c15bc8ebacd7
parent72cfcfa0ec2be967833c802fc8237f3eed23994e
test-seccomp: Handle environment where sync() is already suppressed

We might be running in an nspawn container booted with --suppress-sync,
so make sure we handle that scenario gracefully.
src/test/test-seccomp.c