--- macros/user_macros.te.dist 2004-05-11 11:03:38.000000000 -0400 +++ macros/user_macros.te 2004-05-26 12:22:18.852047888 -0400 @@ -242,6 +242,14 @@ r_dir_file($1_t, mnt_t) ') +ifdef(`user_mysql',` +# +# Allow users to access the mysql socket +# +allow $1_t mysqld_var_run_t:dir search; +allow $1_t mysqld_var_run_t:sock_file write; +') + # # Rules used to associate a homedir as a mountpoint # --- tunable.te.dist 2004-05-11 11:03:38.000000000 -0400 +++ tunable.te 2004-05-26 12:19:33.221383912 -0400 @@ -99,3 +99,6 @@ # Allow user to rw usb devices define(`user_rw_usb') + +# Allow users to access mysql +define(`user_mysql')