trunk: add mysql db lnk_file transition.

This commit is contained in:
Chris PeBenito 2009-03-11 11:59:04 +00:00
parent da04234f32
commit e21bd28bc8

View File

@ -1,5 +1,5 @@
policy_module(mysql, 1.10.2)
policy_module(mysql, 1.10.3)
########################################
#
@ -45,7 +45,7 @@ allow mysqld_t self:udp_socket create_socket_perms;
manage_dirs_pattern(mysqld_t, mysqld_db_t, mysqld_db_t)
manage_files_pattern(mysqld_t, mysqld_db_t, mysqld_db_t)
manage_lnk_files_pattern(mysqld_t, mysqld_db_t, mysqld_db_t)
files_var_lib_filetrans(mysqld_t, mysqld_db_t, { dir file })
files_var_lib_filetrans(mysqld_t, mysqld_db_t, { dir file lnk_file })
allow mysqld_t mysqld_etc_t:file read_file_perms;
allow mysqld_t mysqld_etc_t:lnk_file { getattr read };