selinux-policy/refpolicy/policy/modules/services/sysstat.if

22 lines
460 B
Plaintext
Raw Normal View History

2005-12-08 15:01:57 +00:00
## <summary>Policy for sysstat. Reports on various system states</summary>
########################################
## <summary>
## Manage sysstat logs.
## </summary>
## <param name="domain">
## <summary>
2005-12-08 15:01:57 +00:00
## Domain allowed access.
## </summary>
2005-12-08 15:01:57 +00:00
## </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;
')