selinux-refpolicy/policy/modules/services/rshd.if

21 lines
394 B
Plaintext

## <summary>Remote shell service.</summary>
########################################
## <summary>
## Execute rshd in the rshd domain.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed to transition.
## </summary>
## </param>
#
interface(`rshd_domtrans',`
gen_require(`
type rshd_exec_t, rshd_t;
')
corecmd_search_bin($1)
domtrans_pattern($1, rshd_exec_t, rshd_t)
')