Selinux: added interface to manage perfdata

refs #8332
This commit is contained in:
Dirk Goetz 2015-03-26 19:41:26 +00:00 committed by Michael Friedrich
parent 7d29a26d99
commit c4609148fe
2 changed files with 19 additions and 1 deletions

View File

@ -242,6 +242,24 @@ interface(`icinga2_manage_lib_dirs',`
manage_dirs_pattern($1, icinga2_var_lib_t, icinga2_var_lib_t) manage_dirs_pattern($1, icinga2_var_lib_t, icinga2_var_lib_t)
') ')
########################################
## <summary>
## Manage icinga2 spool files.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`icinga2_manage_spool_files',`
gen_require(`
type icinga2_spool_t;
')
files_search_var_lib($1)
manage_files_pattern($1, icinga2_spool_t, icinga2_spool_t)
')
######################################## ########################################
## <summary> ## <summary>

View File

@ -1,4 +1,4 @@
policy_module(icinga2, 0.1.2) policy_module(icinga2, 0.1.3)
######################################## ########################################
# #