policy_mdule(gruntmasterd, 1.0) type gruntmasterd_t; type gruntmasterd_exec_t; init_daemon_domain(gruntmasterd_t, gruntmasterd_exec_t); type gruntmasterd_log_t; logging_log_file(gruntmasterd_log_t); type gruntmaster_job_t; type gruntmaster_job_exec_t; init_daemon_domain(gruntmaster_job_t, gruntmaster_job_exec_t); allow gruntmasterd_t self : process fork; allow gruntmasterd_t gruntmasterd_job_t : dir ra_dir_perms; allow gruntmasterd_t gruntmasterd_job_t : file { create ra_file_perms }; logging_log_filetrans(gruntmasterd_t, gruntmasterd_log_t, file) logging_search_logs(gruntmasterd_t) libs_use_ld_so(gruntmasterd_t) libs_use_ld_so(gruntmasterd_job_t) libs_use_shared_libs(gruntmasterd_t) libs_use_shared_libs(gruntmasterd_job_t)