2018-11-28 09:55:02 +01:00
|
|
|
Index: refpolicy/policy/modules/services/ntp.fc
|
2018-11-27 10:16:35 +01:00
|
|
|
===================================================================
|
2018-11-28 09:55:02 +01:00
|
|
|
--- refpolicy.orig/policy/modules/services/ntp.fc 2018-11-27 14:54:54.495739330 +0100
|
|
|
|
+++ refpolicy/policy/modules/services/ntp.fc 2018-11-27 14:55:32.792361276 +0100
|
|
|
|
@@ -37,3 +37,13 @@
|
|
|
|
/var/log/ntp.* -- gen_context(system_u:object_r:ntpd_log_t,s0)
|
|
|
|
/var/log/ntpstats(/.*)? gen_context(system_u:object_r:ntpd_log_t,s0)
|
|
|
|
/var/log/xntpd.* -- gen_context(system_u:object_r:ntpd_log_t,s0)
|
2018-11-27 10:16:35 +01:00
|
|
|
+
|
|
|
|
+# SUSE chroot
|
|
|
|
+/var/lib/ntp/etc/ntpd?.*\.conf.* -- gen_context(system_u:object_r:ntp_conf_t,s0)
|
|
|
|
+/var/lib/ntp/etc/ntp/crypto(/.*)? gen_context(system_u:object_r:ntpd_key_t,s0)
|
|
|
|
+/var/lib/ntp/etc/ntp/data(/.*)? gen_context(system_u:object_r:ntp_drift_t,s0)
|
|
|
|
+/var/lib/ntp/etc/ntp/keys -- gen_context(system_u:object_r:ntpd_key_t,s0)
|
|
|
|
+/var/lib/ntp/etc/ntp/step-tickers.* -- gen_context(system_u:object_r:ntp_conf_t,s0)
|
|
|
|
+/var/lib/ntp/var/lib/ntp(/.*)? gen_context(system_u:object_r:ntp_drift_t,s0)
|
|
|
|
+/var/lib/ntp/var/lib/sntp-kod(/.*)? gen_context(system_u:object_r:ntp_drift_t,s0)
|
|
|
|
+/var/lib/ntp/var/run/ntp(/.*)? gen_context(system_u:object_r:ntpd_var_run_t,s0)
|