Blame policy/modules/admin/logwatch.if
|
Chris PeBenito |
020cbe |
## <summary>System log analyzer and reporter</summary>
|
|
Chris PeBenito |
020cbe |
|
|
Chris PeBenito |
020cbe |
########################################
|
|
Chris PeBenito |
020cbe |
## <summary>
|
|
Chris PeBenito |
020cbe |
## Read logwatch temporary files.
|
|
Chris PeBenito |
020cbe |
## </summary>
|
|
Chris PeBenito |
020cbe |
## <param name="domain">
|
|
Chris PeBenito |
885b83 |
## <summary>
|
|
Chris PeBenito |
020cbe |
## Domain allowed access.
|
|
Chris PeBenito |
885b83 |
## </summary>
|
|
Chris PeBenito |
020cbe |
## </param>
|
|
Chris PeBenito |
020cbe |
#
|
|
Chris PeBenito |
020cbe |
interface(`logwatch_read_tmp_files',`
|
|
Chris PeBenito |
020cbe |
gen_require(`
|
|
Chris PeBenito |
020cbe |
type logwatch_tmp_t;
|
|
Chris PeBenito |
020cbe |
')
|
|
Chris PeBenito |
020cbe |
|
|
Chris PeBenito |
020cbe |
files_search_tmp($1)
|
|
Chris PeBenito |
020cbe |
allow $1 logwatch_tmp_t:file r_file_perms;
|
|
Chris PeBenito |
020cbe |
')
|