add anonymous_domain
This commit is contained in:
parent
fedd3cafbd
commit
e9199fef2b
@ -226,6 +226,15 @@ allow $1 devtty_t:chr_file { read write getattr ioctl };
|
||||
allow $1 devpts_t:dir { read search getattr };
|
||||
allow $1 $2_devpts_t:chr_file { read write getattr ioctl };
|
||||
|
||||
#
|
||||
# anonymous_domain():
|
||||
#
|
||||
gen_tunable(allow_$1_anon_write,false)
|
||||
miscfiles_read_public_files($1_t)
|
||||
tunable_policy(`allow_$1_anon_write',`
|
||||
miscfiles_manage_public_files($1_t)
|
||||
')
|
||||
|
||||
#
|
||||
# append_log_domain():
|
||||
#
|
||||
@ -977,7 +986,7 @@ allow $1 $2:lnk_file { getattr read };
|
||||
#
|
||||
# system_crond_entry():
|
||||
#
|
||||
optional_policy(`cron.te', `
|
||||
optional_policy(`cron.te',`
|
||||
cron_system_entry($2,$1)
|
||||
')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user