mariadb/mariadb-server-galera.te
bzhaoop f6b53f1ed0 New version 10.5.10 for mariadb introduce
We replies on the upstream mariadb community and release experience for mariadb 10.5.10 on aarch64 and x86 platform.
2021-06-21 19:14:33 +08:00

24 lines
681 B
Plaintext

module mariadb-server-galera 1.0;
require {
type mysqld_t;
type rsync_exec_t;
type anon_inodefs_t;
type proc_net_t;
type kerberos_port_t;
class file { read execute execute_no_trans getattr open };
class tcp_socket { name_bind name_connect };
class process { setpgid siginh rlimitinh noatsecure };
}
# allow mysqld to run rsyncd
allow mysqld_t self:process setpgid;
allow mysqld_t rsync_exec_t:file { read execute execute_no_trans getattr open };
allow mysqld_t anon_inodefs_t:file getattr;
allow mysqld_t proc_net_t:file { read open };
# allow rsyncd to listen on port 4444
allow mysqld_t kerberos_port_t:tcp_socket { name_bind name_connect };