tmpreaper patch from Dan Walsh

This commit is contained in:
Jeremy Solt 2010-05-24 10:51:54 -04:00 committed by Chris PeBenito
parent 7605d2738c
commit 8daddcf37e

View File

@ -42,6 +42,7 @@ miscfiles_delete_man_pages(tmpreaper_t)
cron_system_entry(tmpreaper_t, tmpreaper_exec_t)
ifdef(`distro_redhat',`
userdom_list_user_home_content(tmpreaper_t)
userdom_delete_user_home_content_dirs(tmpreaper_t)
userdom_delete_user_home_content_files(tmpreaper_t)
userdom_delete_user_home_content_symlinks(tmpreaper_t)
@ -51,6 +52,12 @@ optional_policy(`
amavis_manage_spool_files(tmpreaper_t)
')
optional_policy(`
apache_list_cache(tmpreaper_t)
apache_delete_cache(tmpreaper_t)
apache_setattr_cache_dirs(tmpreaper_t)
')
optional_policy(`
kismet_manage_log(tmpreaper_t)
')
@ -59,6 +66,10 @@ optional_policy(`
lpd_manage_spool(tmpreaper_t)
')
optional_policy(`
rpm_manage_cache(tmpreaper_t)
')
optional_policy(`
unconfined_domain(tmpreaper_t)
')