## policy for nvme_stas ######################################## ## ## Execute nvme_stas_exec_t in the nvme_stas domain. ## ## ## ## Domain allowed to transition. ## ## # interface(`nvme_stas_domtrans',` gen_require(` type nvme_stas_t, nvme_stas_exec_t; ') corecmd_search_bin($1) domtrans_pattern($1, nvme_stas_exec_t, nvme_stas_t) ') ###################################### ## ## Execute nvme_stas in the caller domain. ## ## ## ## Domain allowed access. ## ## # interface(`nvme_stas_exec',` gen_require(` type nvme_stas_exec_t; ') corecmd_search_bin($1) can_exec($1, nvme_stas_exec_t) ') ###################################### ## ## Send and receive messages from ## nvme_stas over dbus. ## ## ## ## Domain allowed access. ## ## # interface(`nvme_stas_dbus_chat',` gen_require(` type nvme_stas_t; class dbus send_msg; ') allow $1 nvme_stas_t:dbus send_msg; allow nvme_stas_t $1:dbus send_msg; ')