add system_cron_entry and fix typo
This commit is contained in:
parent
9edc289521
commit
a23ffe64bd
|
@ -667,7 +667,7 @@ files_search_etc($1_t)
|
||||||
# etcdir_domain(): complete
|
# etcdir_domain(): complete
|
||||||
#
|
#
|
||||||
type $1_etc_t; #, usercanread;
|
type $1_etc_t; #, usercanread;
|
||||||
files_file_type($1_etc_t)
|
files_type($1_etc_t)
|
||||||
allow $1_t $1_etc_t:file r_file_perms;
|
allow $1_t $1_etc_t:file r_file_perms;
|
||||||
allow $1_t $1_etc_t:dir r_dir_perms;
|
allow $1_t $1_etc_t:dir r_dir_perms;
|
||||||
allow $1_t $1_etc_t:lnk_file { getattr read };
|
allow $1_t $1_etc_t:lnk_file { getattr read };
|
||||||
|
@ -935,6 +935,13 @@ allow $1 $2:dir rw_dir_perms;
|
||||||
allow $1 $2:file rw_file_perms;
|
allow $1 $2:file rw_file_perms;
|
||||||
allow $1 $2:lnk_file { getattr read };
|
allow $1 $2:lnk_file { getattr read };
|
||||||
|
|
||||||
|
#
|
||||||
|
# system_crond_entry():
|
||||||
|
#
|
||||||
|
optional_policy(`crond.te', `
|
||||||
|
cron_system_entry($2,$1)
|
||||||
|
')
|
||||||
|
|
||||||
#
|
#
|
||||||
# system_domain(): complete
|
# system_domain(): complete
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue