2006-01-10 14:39:21 +00:00
|
|
|
## <summary>System log analyzer and reporter</summary>
|
|
|
|
|
|
|
|
########################################
|
|
|
|
## <summary>
|
|
|
|
## Read logwatch temporary files.
|
|
|
|
## </summary>
|
|
|
|
## <param name="domain">
|
2006-02-10 18:41:53 +00:00
|
|
|
## <summary>
|
2006-01-10 14:39:21 +00:00
|
|
|
## Domain allowed access.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </summary>
|
2006-01-10 14:39:21 +00:00
|
|
|
## </param>
|
|
|
|
#
|
|
|
|
interface(`logwatch_read_tmp_files',`
|
|
|
|
gen_require(`
|
|
|
|
type logwatch_tmp_t;
|
|
|
|
')
|
|
|
|
|
|
|
|
files_search_tmp($1)
|
2006-12-12 20:08:08 +00:00
|
|
|
allow $1 logwatch_tmp_t:file read_file_perms;
|
2006-01-10 14:39:21 +00:00
|
|
|
')
|
2006-09-13 18:35:10 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
## <summary>
|
|
|
|
## Search logwatch cache directory.
|
|
|
|
## </summary>
|
|
|
|
## <param name="domain">
|
|
|
|
## <summary>
|
|
|
|
## Domain allowed access.
|
|
|
|
## </summary>
|
|
|
|
## </param>
|
|
|
|
#
|
|
|
|
interface(`logwatch_search_cache_dir',`
|
|
|
|
gen_require(`
|
|
|
|
type logwatch_cache_t;
|
|
|
|
')
|
|
|
|
|
2006-12-12 20:08:08 +00:00
|
|
|
allow $1 logwatch_cache_t:dir search_dir_perms;
|
2006-09-13 18:35:10 +00:00
|
|
|
')
|