Chris PeBenito 6bd449
## <summary>NX remote desktop</summary>
Chris PeBenito 6bd449
Chris PeBenito 6bd449
########################################
Chris PeBenito 6bd449
## <summary>
Chris PeBenito 6bd449
##	Transition to NX server.
Chris PeBenito 6bd449
## </summary>
Chris PeBenito 6bd449
## <param name="domain">
Chris PeBenito 6bd449
##	<summary>
Chris PeBenito 6bd449
##	Domain allowed access.
Chris PeBenito 6bd449
##	</summary>
Chris PeBenito 6bd449
## </param>
Chris PeBenito 6bd449
#
Chris PeBenito 6bd449
interface(`nx_spec_domtrans_server',`
Chris PeBenito 6bd449
	gen_require(`
Chris PeBenito 6bd449
		type nx_server_t, nx_server_exec_t;
Chris PeBenito 6bd449
	')
Chris PeBenito 6bd449
Chris PeBenito 6bd449
	domain_trans($1,nx_server_exec_t,nx_server_t)
Chris PeBenito 6bd449
	allow nx_server_t $1:fd use;
Chris PeBenito 6bd449
	allow nx_server_t $1:fifo_file rw_file_perms;
Chris PeBenito 6bd449
	allow nx_server_t $1:process sigchld;
Chris PeBenito 6bd449
')