add seutil_rw_config()

This commit is contained in:
Chris PeBenito 2006-10-25 20:48:04 +00:00
parent 76bac89cf0
commit d5ae683e2b

View File

@ -674,6 +674,27 @@ interface(`seutil_read_config',`
allow $1 selinux_config_t:lnk_file { getattr read };
')
########################################
## <summary>
## Read and write the general SELinux configuration files.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
## <rolecap/>
#
interface(`seutil_rw_config',`
gen_require(`
type selinux_config_t;
')
files_search_etc($1)
allow $1 selinux_config_t:dir list_dir_perms;
allow $1 selinux_config_t:file rw_file_perms;
')
#######################################
## <summary>
## Create, read, write, and delete