## policy for freqset ######################################## ## ## Execute TEMPLATE in the freqset domin. ## ## ## ## Domain allowed to transition. ## ## # interface(`freqset_domtrans',` gen_require(` type freqset_t, freqset_exec_t; ') corecmd_search_bin($1) domtrans_pattern($1, freqset_exec_t, freqset_t) ') ######################################## ## ## Execute freqset in the freqset domain, and ## allow the specified role the freqset domain. ## ## ## ## Domain allowed to transition ## ## ## ## ## The role to be allowed the freqset domain. ## ## # interface(`freqset_run',` gen_require(` type freqset_t; attribute_role freqset_roles; ') freqset_domtrans($1) roleattribute $2 freqset_roles; ') ######################################## ## ## Role access for freqset ## ## ## ## Role allowed access ## ## ## ## ## User domain for the role ## ## # interface(`freqset_role',` gen_require(` type freqset_t; attribute_role freqset_roles; ') roleattribute $1 freqset_roles; freqset_domtrans($2) ps_process_pattern($2, freqset_t) allow $2 freqset_t:process { signull signal sigkill }; ')