nscd patch from dan.

This commit is contained in:
Chris PeBenito 2009-09-09 09:35:37 -04:00
parent c61b35048a
commit 937b2c4d91
2 changed files with 20 additions and 1 deletions

View File

@ -234,6 +234,24 @@ interface(`nscd_run',`
role $2 types nscd_t;
')
########################################
## <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

View File

@ -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)