Use filetrans_pattern.
This commit is contained in:
parent
44f8aa190c
commit
3a3e7db078
@ -129,8 +129,7 @@ userdom_dontaudit_use_unpriv_user_fds(mysqld_t)
|
||||
userdom_read_user_home_content_files(mysqld_t)
|
||||
|
||||
ifdef(`distro_redhat',`
|
||||
# because Fedora has the sock_file in the database directory
|
||||
type_transition mysqld_t mysqld_db_t:sock_file mysqld_var_run_t;
|
||||
filetrans_pattern(mysqld_t, mysqld_db_t, mysqld_var_run_t, sock_file)
|
||||
')
|
||||
|
||||
tunable_policy(`mysql_connect_any',`
|
||||
|
Loading…
Reference in New Issue
Block a user