## policy for rshim
########################################
##
## Execute rshim_exec_t in the rshim domain.
##
##
##
## Domain allowed to transition.
##
##
#
interface(`rshim_domtrans',`
gen_require(`
type rshim_t, rshim_exec_t;
')
corecmd_search_bin($1)
domtrans_pattern($1, rshim_exec_t, rshim_t)
')
######################################
##
## Execute rshim in the caller domain.
##
##
##
## Domain allowed access.
##
##
#
interface(`rshim_exec',`
gen_require(`
type rshim_exec_t;
')
corecmd_search_bin($1)
can_exec($1, rshim_exec_t)
')