require{
type bin_t;
+ type http_port_t;
type httpd_sys_content_rw_t;
type httpd_sys_content_t;
type httpd_t;
type httpd_tmp_t;
+ type net_conf_t;
type port_t;
type proc_t;
type urandom_device_t;
allow gruntmasterd_t urandom_device_t:chr_file read_file_perms;
allow gruntmasterd_t { gruntmaster_compile_exec_t gruntmaster_job_exec_t } : file execute;
allow gruntmasterd_t port_t:tcp_socket name_connect;
+allow gruntmasterd_t http_port_t:tcp_socket name_connect;
+allow gruntmasterd_t net_conf_t:file { read getattr open };
+allow gruntmasterd_t self:udp_socket { write read create connect getattr };
allow gruntmasterd_t self:tcp_socket { read write create ioctl connect };
dontaudit gruntmasterd_t { gruntmaster_compile_t gruntmaster_job_t } : process noatsecure;