-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathos-mysql.te
More file actions
31 lines (26 loc) · 761 Bytes
/
os-mysql.te
File metadata and controls
31 lines (26 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
policy_module(os-mysql,0.1)
gen_require(`
type tram_port_t;
type rsync_exec_t;
type mysqld_t;
type nfs_t;
type mysqld_safe_exec_t;
type cluster_tmp_t;
type cluster_var_lib_t;
type mysqld_safe_t;
class tcp_socket name_connect;
class file { read getattr open execute execute_no_trans write };
class dir read;
')
# Bugzilla 1081544
allow mysqld_t rsync_exec_t:file { read getattr open execute execute_no_trans };
corenet_tcp_connect_tram_port(mysqld_t)
# Bugzilla 1114581
# allow mysqld_t nfs_t:dir search;
# Bugzilla 1118859
allow mysqld_t mysqld_safe_exec_t:file getattr;
# Bugzilla 1284672
# Bugzilla 1439182
# Bugzilla 1464114
allow mysqld_safe_t cluster_tmp_t:file { setattr write_file_perms };
allow mysqld_safe_t cluster_var_lib_t:dir read;