## Policy for rshd, rlogind, and telnetd.
########################################
##
## Domain transition to the remote login domain.
##
##
##
## The type of the process performing this action.
##
##
#
interface(`remotelogin_domtrans',`
gen_require(`
type remote_login_t;
')
auth_domtrans_login_program($1,remote_login_t)
')
########################################
##
## allow Domain to signal remote login domain.
##
##
##
## The type of the process performing this action.
##
##
#
interface(`remotelogin_signal',`
gen_require(`
type remote_login_t;
')
allow $1 remote_login_t:process signal;
')