selinux-policy/policy/modules/services/remotelogin.if
Dominick Grift 288845a638 Services layer xml files.
Signed-off-by: Dominick Grift <domg472@gmail.com>
2010-08-05 09:25:29 -04:00

38 lines
736 B
Plaintext

## <summary>Policy for rshd, rlogind, and telnetd.</summary>
########################################
## <summary>
## Domain transition to the remote login domain.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed to transition.
## </summary>
## </param>
#
interface(`remotelogin_domtrans',`
gen_require(`
type remote_login_t;
')
auth_domtrans_login_program($1, remote_login_t)
')
########################################
## <summary>
## allow Domain to signal remote login domain.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`remotelogin_signal',`
gen_require(`
type remote_login_t;
')
allow $1 remote_login_t:process signal;
')