## policy for livecd ######################################## ## ## Execute a domain transition to run livecd. ## ## ## ## Domain allowed to transition. ## ## # interface(`livecd_domtrans',` gen_require(` type livecd_t; type livecd_exec_t; ') domtrans_pattern($1,livecd_exec_t,livecd_t) ') ######################################## ## ## Execute livecd in the livecd domain, and ## allow the specified role the livecd domain. ## ## ## ## Domain allowed access ## ## ## ## ## The role to be allowed the livecd domain. ## ## ## ## ## The type of the role's terminal. ## ## # interface(`livecd_run',` gen_require(` type livecd_t; ') livecd_domtrans($1) role $2 types livecd_t; allow livecd_t $3:chr_file rw_term_perms; seutil_run_setfiles_mac(livecd_t, $2, $3) ')