selinux-policy/policy/modules/services/sysstat.if
2006-07-12 20:32:27 +00:00

22 lines
460 B
Plaintext

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