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