forked from pool/selinux-policy
3de9778fbc
Policy is in better state now and should be fine for people with basic SELinux knowledge OBS-URL: https://build.opensuse.org/request/show/832021 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/selinux-policy?expand=0&rev=1
32 lines
1.0 KiB
Diff
32 lines
1.0 KiB
Diff
Index: fedora-policy/policy/modules/contrib/chronyd.te
|
|
===================================================================
|
|
--- fedora-policy.orig/policy/modules/contrib/chronyd.te
|
|
+++ fedora-policy/policy/modules/contrib/chronyd.te
|
|
@@ -136,6 +136,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/policy/modules/contrib/chronyd.fc
|
|
===================================================================
|
|
--- fedora-policy.orig/policy/modules/contrib/chronyd.fc
|
|
+++ fedora-policy/policy/modules/contrib/chronyd.fc
|
|
@@ -6,6 +6,7 @@
|
|
|
|
/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/bin/chronyc -- gen_context(system_u:object_r:chronyc_exec_t,s0)
|
|
|