trunk: add setrlimit to debian cron.
This commit is contained in:
parent
5f63dd12a3
commit
74d920c3b5
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
policy_module(cron,1.8.2)
|
policy_module(cron,1.8.3)
|
||||||
|
|
||||||
gen_require(`
|
gen_require(`
|
||||||
class passwd rootok;
|
class passwd rootok;
|
||||||
@ -163,6 +163,9 @@ userdom_list_all_users_home_dirs(crond_t)
|
|||||||
mta_send_mail(crond_t)
|
mta_send_mail(crond_t)
|
||||||
|
|
||||||
ifdef(`distro_debian',`
|
ifdef(`distro_debian',`
|
||||||
|
# pam_limits is used
|
||||||
|
allow crond_t self:process setrlimit;
|
||||||
|
|
||||||
optional_policy(`
|
optional_policy(`
|
||||||
# Debian logcheck has the home dir set to its cache
|
# Debian logcheck has the home dir set to its cache
|
||||||
logwatch_search_cache_dir(crond_t)
|
logwatch_search_cache_dir(crond_t)
|
||||||
|
Loading…
Reference in New Issue
Block a user