Blame policy/modules/services/rshd.if
|
Chris PeBenito |
17de1b |
## <summary>Remote shell service.</summary>
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
## <summary>
|
|
Chris PeBenito |
17de1b |
## Domain transition to rshd.
|
|
Chris PeBenito |
17de1b |
## </summary>
|
|
Chris PeBenito |
17de1b |
## <param name="domain">
|
|
Chris PeBenito |
17de1b |
## <summary>
|
|
Chris PeBenito |
17de1b |
## The type of the process performing this action.
|
|
Chris PeBenito |
17de1b |
## </summary>
|
|
Chris PeBenito |
17de1b |
## </param>
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
interface(`rshd_domtrans',`
|
|
Chris PeBenito |
17de1b |
gen_require(`
|
|
Chris PeBenito |
17de1b |
type rshd_exec_t, rshd_t;
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
files_search_usr($1)
|
|
Chris PeBenito |
17de1b |
corecmd_search_bin($1)
|
|
Chris PeBenito |
17de1b |
domain_auto_trans($1,rshd_exec_t,rshd_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
allow $1 rshd_t:fd use;
|
|
Chris PeBenito |
17de1b |
allow rshd_t $1:fd use;
|
|
Chris PeBenito |
17de1b |
allow rshd_t $1:fifo_file rw_file_perms;
|
|
Chris PeBenito |
17de1b |
allow rshd_t $1:process sigchld;
|
|
Chris PeBenito |
17de1b |
')
|