Blame policy/modules/admin/tmpreaper.if
|
Chris PeBenito |
ed78ea |
## <summary>Manage temporary directory sizes and file ages</summary>
|
|
Chris PeBenito |
ed78ea |
|
|
Chris PeBenito |
ed78ea |
########################################
|
|
Chris PeBenito |
ed78ea |
## <summary>
|
|
Chris PeBenito |
ed78ea |
## Execute tmpreaper in the caller domain.
|
|
Chris PeBenito |
ed78ea |
## </summary>
|
|
Chris PeBenito |
ed78ea |
## <param name="domain">
|
|
Chris PeBenito |
885b83 |
## <summary>
|
|
Chris PeBenito |
a72e42 |
## Domain allowed access.
|
|
Chris PeBenito |
885b83 |
## </summary>
|
|
Chris PeBenito |
ed78ea |
## </param>
|
|
Chris PeBenito |
ed78ea |
#
|
|
Chris PeBenito |
ed78ea |
interface(`tmpreaper_exec',`
|
|
Chris PeBenito |
ed78ea |
gen_require(`
|
|
Chris PeBenito |
ed78ea |
type tmpreaper_exec_t;
|
|
Chris PeBenito |
ed78ea |
')
|
|
Chris PeBenito |
ed78ea |
|
|
Chris PeBenito |
ed78ea |
files_search_usr($1)
|
|
Chris PeBenito |
8021cb |
corecmd_search_bin($1)
|
|
Chris PeBenito |
0bfccd |
can_exec($1, tmpreaper_exec_t)
|
|
Chris PeBenito |
ed78ea |
')
|