trunk: add setrlimit to debian cron.

This commit is contained in:
Chris PeBenito 2007-12-06 14:35:44 +00:00
parent 5f63dd12a3
commit 74d920c3b5
1 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,5 @@
policy_module(cron,1.8.2)
policy_module(cron,1.8.3)
gen_require(`
class passwd rootok;
@ -163,6 +163,9 @@ userdom_list_all_users_home_dirs(crond_t)
mta_send_mail(crond_t)
ifdef(`distro_debian',`
# pam_limits is used
allow crond_t self:process setrlimit;
optional_policy(`
# Debian logcheck has the home dir set to its cache
logwatch_search_cache_dir(crond_t)