]> git.ipfire.org Git - thirdparty/systemd.git/commit
tree-wide: don't ifdef seccomp-util.h, drop seccomp.h inclusion everywhere 28907/head
authorLennart Poettering <lennart@poettering.net>
Mon, 21 Aug 2023 16:48:19 +0000 (18:48 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 21 Aug 2023 16:50:29 +0000 (18:50 +0200)
commite2fc0a72223bf1b4b1e2de9e9aa8169ec93ef8f9
tree34ae54440c90a9ee787640f523ab7b2e56aad33f
parent65a57927ad803dc7eddc4ab68221c571638d6e2b
tree-wide: don't ifdef seccomp-util.h, drop seccomp.h inclusion everywhere

seccomp-util.h doesn't need ifdeffing, hence don't. It has worked since
quite a while with HAVE_SECCOMP is off, hence use it everywhere.

Also drop explicit seccomp.h inclusion everywhere (which needs
HAVE_SECCOMP ifdeffery everywhere). seccomp-util.h includes it anyway,
automatically, which we can just rely on, and it deals with HAVE_SECCOMP
at one central place.
src/analyze/analyze-security.c
src/core/dbus-execute.c
src/core/execute.c
src/core/load-fragment.c
src/core/main.c
src/nspawn/nspawn-oci.c
src/nspawn/nspawn-seccomp.c
src/nspawn/nspawn-settings.h
src/nspawn/nspawn.c
src/shared/bus-unit-util.c
src/test/test-execute.c