selinux-refpolicy/policy/modules/services/mysql.fc

25 lines
628 B
Plaintext
Raw Normal View History

2005-08-03 17:56:26 +00:00
# mysql database server
#
# /etc
#
/etc/my\.cnf -- gen_context(system_u:object_r:mysqld_etc_t,s0)
/etc/mysql(/.*)? gen_context(system_u:object_r:mysqld_etc_t,s0)
2005-08-03 17:56:26 +00:00
#
# /usr
#
/usr/libexec/mysqld -- gen_context(system_u:object_r:mysqld_exec_t,s0)
2005-08-03 17:56:26 +00:00
/usr/sbin/mysqld(-max)? -- gen_context(system_u:object_r:mysqld_exec_t,s0)
2005-08-03 17:56:26 +00:00
#
# /var
#
/var/lib/mysql(/.*)? gen_context(system_u:object_r:mysqld_db_t,s0)
/var/lib/mysql/mysql\.sock -s gen_context(system_u:object_r:mysqld_var_run_t,s0)
2005-08-03 17:56:26 +00:00
/var/log/mysql.* -- gen_context(system_u:object_r:mysqld_log_t,s0)
2005-08-03 17:56:26 +00:00
/var/run/mysqld(/.*)? gen_context(system_u:object_r:mysqld_var_run_t,s0)