aboutsummaryrefslogtreecommitdiff
blob: 7ad29c0467a2873c5b4109aa807d06ff8d2e6591 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
## <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)
')