selinux-policy/refpolicy/policy/modules/services/rlogin.if
2005-09-20 17:11:53 +00:00

24 lines
541 B
Plaintext

## <summary>Remote login daemon</summary>
########################################
## <summary>
## Execute rlogind in the rlogin domain.
## </summary>
## <param name="domain">
## The type of the process performing this action.
## </param>
#
interface(`rlogin_domtrans',`
gen_require(`
type rlogind_t, rlogind_exec_t;
')
corecmd_search_sbin($1)
domain_auto_trans($1,rlogind_exec_t,rlogind_t)
allow $1 rlogind_t:fd use;
allow rlogind_t $1:fd use;
allow rlogind_t $1:fifo_file rw_file_perms;
allow rlogind_t $1:process sigchld;
')