2021-07-30 11:07:13 +02:00
|
|
|
Index: fedora-policy-20210628/policy/modules/contrib/nscd.fc
|
2019-10-04 04:15:03 +02:00
|
|
|
===================================================================
|
2021-07-30 11:07:13 +02:00
|
|
|
--- fedora-policy-20210628.orig/policy/modules/contrib/nscd.fc
|
|
|
|
+++ fedora-policy-20210628/policy/modules/contrib/nscd.fc
|
2019-10-04 04:15:03 +02:00
|
|
|
@@ -8,8 +8,10 @@
|
|
|
|
/var/log/nscd\.log.* -- gen_context(system_u:object_r:nscd_log_t,s0)
|
|
|
|
|
|
|
|
/var/run/nscd\.pid -- gen_context(system_u:object_r:nscd_var_run_t,s0)
|
|
|
|
-/var/run/\.nscd_socket -s gen_context(system_u:object_r:nscd_var_run_t,s0)
|
|
|
|
+/var/run/nscd/socket -s gen_context(system_u:object_r:nscd_var_run_t,s0)
|
|
|
|
|
|
|
|
+/var/lib/nscd(/.*)? gen_context(system_u:object_r:nscd_var_run_t,s0)
|
|
|
|
/var/run/nscd(/.*)? gen_context(system_u:object_r:nscd_var_run_t,s0)
|
|
|
|
|
|
|
|
/usr/lib/systemd/system/nscd\.service -- gen_context(system_u:object_r:nscd_unit_file_t,s0)
|
|
|
|
+
|
2021-07-30 11:07:13 +02:00
|
|
|
Index: fedora-policy-20210628/policy/modules/contrib/nscd.te
|
2020-03-05 11:13:59 +01:00
|
|
|
===================================================================
|
2021-07-30 11:07:13 +02:00
|
|
|
--- fedora-policy-20210628.orig/policy/modules/contrib/nscd.te
|
|
|
|
+++ fedora-policy-20210628/policy/modules/contrib/nscd.te
|
|
|
|
@@ -130,6 +130,14 @@ userdom_dontaudit_use_unpriv_user_fds(ns
|
2020-03-05 11:13:59 +01:00
|
|
|
userdom_dontaudit_search_user_home_dirs(nscd_t)
|
|
|
|
|
|
|
|
optional_policy(`
|
|
|
|
+ networkmanager_read_pid_files(nscd_t)
|
|
|
|
+')
|
|
|
|
+
|
2020-06-02 17:31:08 +02:00
|
|
|
+optional_policy(`
|
|
|
|
+ wicked_read_pid_files(nscd_t)
|
|
|
|
+')
|
|
|
|
+
|
2020-03-05 11:13:59 +01:00
|
|
|
+optional_policy(`
|
|
|
|
accountsd_dontaudit_rw_fifo_file(nscd_t)
|
|
|
|
')
|
|
|
|
|