2005-08-05 15:32:27 +00:00
|
|
|
## <summary>Manage temporary directory sizes and file ages</summary>
|
|
|
|
|
|
|
|
########################################
|
|
|
|
## <summary>
|
|
|
|
## Execute tmpreaper in the caller domain.
|
|
|
|
## </summary>
|
|
|
|
## <param name="domain">
|
2006-02-10 18:41:53 +00:00
|
|
|
## <summary>
|
2005-08-05 15:32:27 +00:00
|
|
|
## The type of the process performing this action.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </summary>
|
2005-08-05 15:32:27 +00:00
|
|
|
## </param>
|
|
|
|
#
|
|
|
|
interface(`tmpreaper_exec',`
|
|
|
|
gen_require(`
|
|
|
|
type tmpreaper_exec_t;
|
|
|
|
')
|
|
|
|
|
|
|
|
files_search_usr($1)
|
2007-03-23 23:24:59 +00:00
|
|
|
corecmd_search_bin($1)
|
2005-08-05 15:32:27 +00:00
|
|
|
can_exec($1,tmpreaper_exec_t)
|
|
|
|
')
|