## policy for numad ######################################## ## ## Transition to numad. ## ## ## ## Domain allowed to transition. ## ## # interface(`numad_domtrans',` gen_require(` type numad_t, numad_exec_t; ') corecmd_search_bin($1) domtrans_pattern($1, numad_exec_t, numad_t) ') ######################################## ## ## Execute numad server in the numad domain. ## ## ## ## Domain allowed to transition. ## ## # interface(`numad_systemctl',` gen_require(` type numad_t; type numad_unit_file_t; ') systemd_exec_systemctl($1) systemd_read_fifo_file_passwd_run($1) allow $1 numad_unit_file_t:file read_file_perms; allow $1 numad_unit_file_t:service all_service_perms; ps_process_pattern($1, numad_t) ') ######################################## ## ## All of the rules required to administrate ## an numad environment ## ## ## ## Domain allowed access. ## ## # interface(`numad_admin',` gen_require(` type numad_t; type numad_unit_file_t; ') allow $1 numad_t:process { ptrace signal_perms }; ps_process_pattern($1, numad_t) numad_systemctl($1) optional_policy(` systemd_passwd_agent_exec($1) systemd_read_fifo_file_passwd_run($1) ') ')