summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <cpebenito@tresys.com>2009-09-09 09:35:37 -0400
committerChris PeBenito <cpebenito@tresys.com>2009-09-09 09:35:37 -0400
commit937b2c4d91989c87022ed52eb9b8e2883806d260 (patch)
tree8aa789568957344e5df762cd7ad5a057519f8443
parentc61b35048a3fcecf5d6573b5aecabfc8792e2f0f (diff)
nscd patch from dan.
-rw-r--r--policy/modules/services/nscd.if18
-rw-r--r--policy/modules/services/nscd.te3
2 files changed, 20 insertions, 1 deletions
diff --git a/policy/modules/services/nscd.if b/policy/modules/services/nscd.if
index 3b5d2a18..beed4c56 100644
--- a/policy/modules/services/nscd.if
+++ b/policy/modules/services/nscd.if
@@ -236,6 +236,24 @@ interface(`nscd_run',`
########################################
## <summary>
+## Execute the nscd server init script.
+## </summary>
+## <param name="domain">
+## <summary>
+## Domain allowed access.
+## </summary>
+## </param>
+#
+interface(`nscd_initrc_domtrans',`
+ gen_require(`
+ type nscd_initrc_exec_t;
+ ')
+
+ init_labeled_script_domtrans($1, nscd_initrc_exec_t)
+')
+
+########################################
+## <summary>
## All of the rules required to administrate
## an nscd environment
## </summary>
diff --git a/policy/modules/services/nscd.te b/policy/modules/services/nscd.te
index 9b509226..afbd2be2 100644
--- a/policy/modules/services/nscd.te
+++ b/policy/modules/services/nscd.te
@@ -1,5 +1,5 @@
-policy_module(nscd, 1.9.1)
+policy_module(nscd, 1.9.2)
gen_require(`
class nscd all_nscd_perms;
@@ -65,6 +65,7 @@ dev_read_urand(nscd_t)
fs_getattr_all_fs(nscd_t)
fs_search_auto_mountpoints(nscd_t)
+fs_list_inotifyfs(nscd_t)
# for when /etc/passwd has just been updated and has the wrong type
auth_getattr_shadow(nscd_t)