module imunify360 1.0; require { type lib_t; type sshd_t; type usr_t; type httpd_t; type httpd_sys_script_t; type unconfined_service_t; class sock_file write; class unix_dgram_socket sendto; } #============= httpd_sys_script_t ============== allow httpd_sys_script_t lib_t:sock_file write; #============= httpd_t ============== allow httpd_t unconfined_service_t:unix_dgram_socket sendto; #============= sshd_t ============== allow sshd_t usr_t:sock_file write;