selinux-refpolicy/policy/modules/services/rshd.if
2018-06-23 10:38:58 -04:00

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)
')