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

25 lines
527 B
Plaintext
Raw Normal View History

2005-08-17 15:23:24 +00:00
## <summary>Remote shell service.</summary>
########################################
## <summary>
## Domain transition to rshd.
## </summary>
## <param name="domain">
## The type of the process performing this action.
## </param>
#
interface(`rshd_domtrans',`
gen_require(`
type rshd_exec_t, rshd_t;
')
files_search_usr($1)
corecmd_search_bin($1)
domain_auto_trans($1,rshd_exec_t,rshd_t)
allow $1 rshd_t:fd use;
allow rshd_t $1:fd use;
allow rshd_t $1:fifo_file rw_file_perms;
allow rshd_t $1:process sigchld;
')