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 ed78ea
##	The type of the process performing this action.
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 ed78ea
	corecmd_search_sbin($1)
Chris PeBenito ed78ea
	can_exec($1,tmpreaper_exec_t)
Chris PeBenito ed78ea
')