add seutil_rw_config()
This commit is contained in:
parent
76bac89cf0
commit
d5ae683e2b
@ -674,6 +674,27 @@ interface(`seutil_read_config',`
|
|||||||
allow $1 selinux_config_t:lnk_file { getattr read };
|
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>
|
## <summary>
|
||||||
## Create, read, write, and delete
|
## Create, read, write, and delete
|
||||||
|
Loading…
Reference in New Issue
Block a user