22 lines
410 B
Text
22 lines
410 B
Text
|
## <summary>Remote shell service.</summary>
|
||
|
|
||
|
########################################
|
||
|
## <summary>
|
||
|
## Domain transition to rshd.
|
||
|
## </summary>
|
||
|
## <param name="domain">
|
||
|
## <summary>
|
||
|
## Domain allowed to transition.
|
||
|
## </summary>
|
||
|
## </param>
|
||
|
#
|
||
|
interface(`rshd_domtrans',`
|
||
|
gen_require(`
|
||
|
type rshd_exec_t, rshd_t;
|
||
|
')
|
||
|
|
||
|
files_search_usr($1)
|
||
|
corecmd_search_bin($1)
|
||
|
domtrans_pattern($1, rshd_exec_t, rshd_t)
|
||
|
')
|