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">
|
2006-02-10 18:41:53 +00:00
|
|
|
## <summary>
|
2005-12-08 15:01:57 +00:00
|
|
|
## Domain allowed access.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </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;
|
|
|
|
')
|