You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
510 B
18 lines
510 B
module zabbix_proxy 1.0;
|
|
|
|
require {
|
|
type zabbix_var_run_t;
|
|
type zabbix_var_lib_t;
|
|
type zabbix_t;
|
|
type ping_t;
|
|
class sock_file { create unlink };
|
|
class unix_stream_socket connectto;
|
|
class file { getattr read };
|
|
}
|
|
|
|
#============= ping_t ==============
|
|
allow ping_t zabbix_var_lib_t:file { getattr read };
|
|
|
|
#============= zabbix_t ==============
|
|
allow zabbix_t self:unix_stream_socket connectto;
|
|
allow zabbix_t zabbix_var_run_t:sock_file { create unlink };
|
|
|