Chris PeBenito a225f9
## <summary>Run .NET server and client applications on Linux.</summary>
Chris PeBenito a225f9
Chris PeBenito a225f9
########################################
Chris PeBenito a225f9
## <summary>
Chris PeBenito a225f9
##	Execute the mono program in the mono domain.
Chris PeBenito a225f9
## </summary>
Chris PeBenito a225f9
## <param name="domain">
Chris PeBenito 885b83
##	<summary>
Chris PeBenito a225f9
##	Domain allowed access.
Chris PeBenito 885b83
##	</summary>
Chris PeBenito a225f9
## </param>
Chris PeBenito a225f9
#
Chris PeBenito a225f9
interface(`mono_domtrans',`
Chris PeBenito a225f9
	gen_require(`
Chris PeBenito a225f9
		type mono_t, mono_exec_t;
Chris PeBenito a225f9
	')
Chris PeBenito a225f9
Chris PeBenito a225f9
	corecmd_search_bin($1)
Chris PeBenito a225f9
	domain_auto_trans($1, mono_exec_t, mono_t)
Chris PeBenito a225f9
Chris PeBenito a225f9
	allow $1 mono_t:fd use;
Chris PeBenito a225f9
	allow mono_t $1:fd use;
Chris PeBenito a225f9
	allow mono_t $1:fifo_file rw_file_perms;
Chris PeBenito a225f9
	allow mono_t $1:process sigchld;
Chris PeBenito a225f9
')