aboutsummaryrefslogtreecommitdiff
path: root/policy
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2024-01-09 19:12:50 +0100
committerKenton Groombridge <concord@gentoo.org>2024-03-01 12:02:10 -0500
commitfcb1c66fbeca208e3ee0a2e2a73307f835f18f74 (patch)
tree252091db05927920a31d1005a2627d4e7bd9d509 /policy
parentSELint userspace class tweaks (diff)
downloadhardened-refpolicy-fcb1c66fbeca208e3ee0a2e2a73307f835f18f74.tar.gz
hardened-refpolicy-fcb1c66fbeca208e3ee0a2e2a73307f835f18f74.tar.bz2
hardened-refpolicy-fcb1c66fbeca208e3ee0a2e2a73307f835f18f74.zip
systemd: reorder optional block
Signed-off-by: Christian Göttsche <cgzones@googlemail.com> Signed-off-by: Kenton Groombridge <concord@gentoo.org>
Diffstat (limited to 'policy')
-rw-r--r--policy/modules/system/systemd.te8
1 files changed, 4 insertions, 4 deletions
diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te
index 6f05b269..aa7f1f58 100644
--- a/policy/modules/system/systemd.te
+++ b/policy/modules/system/systemd.te
@@ -1122,6 +1122,10 @@ optional_policy(`
dbus_connect_system_bus(systemd_machined_t)
dbus_system_bus_client(systemd_machined_t)
+
+ optional_policy(`
+ unconfined_dbus_send(systemd_machined_t)
+ ')
')
########################################
@@ -1402,10 +1406,6 @@ optional_policy(`
dbus_system_bus_client(systemd_nspawn_t)
systemd_dbus_chat_machined(systemd_nspawn_t)
-
- optional_policy(`
- unconfined_dbus_send(systemd_machined_t)
- ')
')
optional_policy(`