selinux-policy/policy/modules/services/remotelogin.if

38 lines
736 B
Plaintext
Raw Normal View History

2005-06-07 14:46:31 +00:00
## <summary>Policy for rshd, rlogind, and telnetd.</summary>
########################################
2005-08-11 17:46:39 +00:00
## <summary>
2005-06-23 21:30:57 +00:00
## Domain transition to the remote login domain.
2005-08-11 17:46:39 +00:00
## </summary>
2005-06-23 21:30:57 +00:00
## <param name="domain">
## <summary>
## Domain allowed to transition.
## </summary>
2005-06-23 21:30:57 +00:00
## </param>
2005-06-07 14:46:31 +00:00
#
interface(`remotelogin_domtrans',`
2005-06-17 18:41:07 +00:00
gen_require(`
type remote_login_t;
')
2005-06-07 14:46:31 +00:00
auth_domtrans_login_program($1, remote_login_t)
2005-06-07 14:46:31 +00:00
')
2008-02-07 16:37:47 +00:00
########################################
## <summary>
## allow Domain to signal remote login domain.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
2008-02-07 16:37:47 +00:00
## </summary>
## </param>
#
interface(`remotelogin_signal',`
gen_require(`
type remote_login_t;
')
allow $1 remote_login_t:process signal;
')