fix filesystem associations

This commit is contained in:
Chris PeBenito 2005-11-01 15:45:00 +00:00
parent 7ac22585e3
commit 31a1c2df88
2 changed files with 4 additions and 6 deletions

View File

@ -510,9 +510,8 @@ interface(`dev_create_dev_node',`
allow $1 device_t:dir rw_dir_perms; allow $1 device_t:dir rw_dir_perms;
type_transition $1 device_t:$3 $2; type_transition $1 device_t:$3 $2;
optional_policy(`distro_redhat',`
fs_associate_tmpfs($2) fs_associate_tmpfs($2)
') files_associate_tmp($2)
') ')
######################################## ########################################

View File

@ -50,9 +50,8 @@ files_tmp_file(syslogd_tmp_t)
type syslogd_var_run_t; type syslogd_var_run_t;
files_pid_file(syslogd_var_run_t) files_pid_file(syslogd_var_run_t)
type var_log_t, logfile; type var_log_t;
files_type(var_log_t) logging_log_file(var_log_t)
files_associate_tmp(var_log_t)
######################################## ########################################
# #