fix filesystem associations
This commit is contained in:
parent
7ac22585e3
commit
31a1c2df88
@ -510,9 +510,8 @@ interface(`dev_create_dev_node',`
|
||||
allow $1 device_t:dir rw_dir_perms;
|
||||
type_transition $1 device_t:$3 $2;
|
||||
|
||||
optional_policy(`distro_redhat',`
|
||||
fs_associate_tmpfs($2)
|
||||
')
|
||||
fs_associate_tmpfs($2)
|
||||
files_associate_tmp($2)
|
||||
')
|
||||
|
||||
########################################
|
||||
|
@ -50,9 +50,8 @@ files_tmp_file(syslogd_tmp_t)
|
||||
type syslogd_var_run_t;
|
||||
files_pid_file(syslogd_var_run_t)
|
||||
|
||||
type var_log_t, logfile;
|
||||
files_type(var_log_t)
|
||||
files_associate_tmp(var_log_t)
|
||||
type var_log_t;
|
||||
logging_log_file(var_log_t)
|
||||
|
||||
########################################
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user