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

23 lines
474 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>
2006-09-06 22:07:25 +00:00
## <rolecap/>
2005-12-08 15:01:57 +00:00
#
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;
')