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