fix cron_system_entry() rules
This commit is contained in:
parent
33c7e6b4e8
commit
3573908f1c
@ -322,7 +322,6 @@ interface(`cron_system_entry',`
|
|||||||
|
|
||||||
# cjp: perhaps these four rules from the old
|
# cjp: perhaps these four rules from the old
|
||||||
# domain_auto_trans are not needed?
|
# domain_auto_trans are not needed?
|
||||||
allow system_crond_t $1:fd use;
|
|
||||||
allow $1 system_crond_t:fd use;
|
allow $1 system_crond_t:fd use;
|
||||||
allow $1 system_crond_t:fifo_file rw_file_perms;
|
allow $1 system_crond_t:fifo_file rw_file_perms;
|
||||||
allow $1 system_crond_t:process sigchld;
|
allow $1 system_crond_t:process sigchld;
|
||||||
@ -330,6 +329,8 @@ interface(`cron_system_entry',`
|
|||||||
allow $1 crond_t:fifo_file rw_file_perms;
|
allow $1 crond_t:fifo_file rw_file_perms;
|
||||||
allow $1 crond_t:fd use;
|
allow $1 crond_t:fd use;
|
||||||
allow $1 crond_t:process sigchld;
|
allow $1 crond_t:process sigchld;
|
||||||
|
|
||||||
|
role system_r types $1;
|
||||||
')
|
')
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
policy_module(cron,1.3.9)
|
policy_module(cron,1.3.10)
|
||||||
|
|
||||||
gen_require(`
|
gen_require(`
|
||||||
class passwd rootok;
|
class passwd rootok;
|
||||||
|
Loading…
Reference in New Issue
Block a user