Blame refpolicy/policy/modules/services/sysstat.if
|
Chris PeBenito |
0f73fd |
## <summary>Policy for sysstat. Reports on various system states</summary>
|
|
Chris PeBenito |
0f73fd |
|
|
Chris PeBenito |
0f73fd |
########################################
|
|
Chris PeBenito |
0f73fd |
## <summary>
|
|
Chris PeBenito |
0f73fd |
## Manage sysstat logs.
|
|
Chris PeBenito |
0f73fd |
## </summary>
|
|
Chris PeBenito |
0f73fd |
## <param name="domain">
|
|
Chris PeBenito |
0f73fd |
## Domain allowed access.
|
|
Chris PeBenito |
0f73fd |
## </param>
|
|
Chris PeBenito |
0f73fd |
#
|
|
Chris PeBenito |
0f73fd |
interface(`sysstat_manage_log',`
|
|
Chris PeBenito |
0f73fd |
gen_require(`
|
|
Chris PeBenito |
0f73fd |
type sysstat_log_t;
|
|
Chris PeBenito |
0f73fd |
')
|
|
Chris PeBenito |
0f73fd |
|
|
Chris PeBenito |
0f73fd |
logging_search_logs($1)
|
|
Chris PeBenito |
0f73fd |
allow $1 sysstat_log_t:dir rw_dir_perms;
|
|
Chris PeBenito |
0f73fd |
allow $1 sysstat_log_t:file manage_file_perms;
|
|
Chris PeBenito |
0f73fd |
')
|