forked from pool/selinux-policy
69aab159dc
https://bugzilla.suse.com/show_bug.cgi?id=1204605 OBS-URL: https://build.opensuse.org/request/show/1030696 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/selinux-policy?expand=0&rev=35
33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
Index: fedora-policy-20220714/policy/modules/contrib/chronyd.te
|
|
===================================================================
|
|
--- fedora-policy-20220714.orig/policy/modules/contrib/chronyd.te
|
|
+++ fedora-policy-20220714/policy/modules/contrib/chronyd.te
|
|
@@ -141,6 +141,14 @@ systemd_exec_systemctl(chronyd_t)
|
|
userdom_dgram_send(chronyd_t)
|
|
|
|
optional_policy(`
|
|
+ networkmanager_read_pid_files(chronyd_t)
|
|
+')
|
|
+
|
|
+optional_policy(`
|
|
+ wicked_read_pid_files(chronyd_t)
|
|
+')
|
|
+
|
|
+optional_policy(`
|
|
cron_dgram_send(chronyd_t)
|
|
')
|
|
|
|
Index: fedora-policy-20220714/policy/modules/contrib/chronyd.fc
|
|
===================================================================
|
|
--- fedora-policy-20220714.orig/policy/modules/contrib/chronyd.fc
|
|
+++ fedora-policy-20220714/policy/modules/contrib/chronyd.fc
|
|
@@ -6,6 +6,8 @@
|
|
|
|
/usr/sbin/chronyd -- gen_context(system_u:object_r:chronyd_exec_t,s0)
|
|
/usr/libexec/chrony-helper -- gen_context(system_u:object_r:chronyd_exec_t,s0)
|
|
+/usr/lib/chrony/helper -- gen_context(system_u:object_r:chronyd_exec_t,s0)
|
|
+/usr/libexec/chrony/helper -- gen_context(system_u:object_r:chronyd_exec_t,s0)
|
|
|
|
/usr/bin/chronyc -- gen_context(system_u:object_r:chronyc_exec_t,s0)
|
|
|