## policy for rebootmgr ######################################## ## ## Execute rebootmgr_exec_t in the rebootmgr domain. ## ## ## ## Domain allowed to transition. ## ## # interface(`rebootmgr_domtrans',` gen_require(` type rebootmgr_t, rebootmgr_exec_t; ') corecmd_search_bin($1) domtrans_pattern($1, rebootmgr_exec_t, rebootmgr_t) ') ###################################### ## ## Execute rebootmgr in the caller domain. ## ## ## ## Domain allowed access. ## ## # interface(`rebootmgr_exec',` gen_require(` type rebootmgr_exec_t; ') corecmd_search_bin($1) can_exec($1, rebootmgr_exec_t) ') ######################################## ## ## Send and receive messages from ## rebootmgr over dbus. ## ## ## ## Domain allowed access. ## ## # interface(`rebootmgr_dbus_chat',` gen_require(` type rebootmgr_t; class dbus send_msg; ') allow $1 rebootmgr_t:dbus send_msg; allow rebootmgr_t $1:dbus send_msg; ')