trunk: add type transition to fix mysql socket creation.

This commit is contained in:
Chris PeBenito 2008-03-21 14:16:17 +00:00
parent 2ed4f5aedf
commit 9e8c3aa651
1 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
policy_module(mysql,1.6.0) policy_module(mysql,1.6.1)
######################################## ########################################
# #
@ -56,7 +56,7 @@ files_tmp_filetrans(mysqld_t, mysqld_tmp_t, { file dir })
manage_files_pattern(mysqld_t, mysqld_var_run_t, mysqld_var_run_t) manage_files_pattern(mysqld_t, mysqld_var_run_t, mysqld_var_run_t)
manage_sock_files_pattern(mysqld_t, mysqld_var_run_t, mysqld_var_run_t) manage_sock_files_pattern(mysqld_t, mysqld_var_run_t, mysqld_var_run_t)
files_pid_filetrans(mysqld_t,mysqld_var_run_t,file) files_pid_filetrans(mysqld_t, mysqld_var_run_t,{ file sock_file })
kernel_read_system_state(mysqld_t) kernel_read_system_state(mysqld_t)
kernel_read_kernel_sysctls(mysqld_t) kernel_read_kernel_sysctls(mysqld_t)