Michael Thomas 6a90090
## <summary>policy for cyphesis</summary>
Michael Thomas 6a90090
Michael Thomas 6a90090
########################################
Michael Thomas 6a90090
## <summary>
Michael Thomas 6a90090
##	Execute a domain transition to run cyphesis.
Michael Thomas 6a90090
## </summary>
Michael Thomas 6a90090
## <param name="domain">
Michael Thomas 6a90090
## <summary>
Michael Thomas 6a90090
##	Domain allowed to transition.
Michael Thomas 6a90090
## </summary>
Michael Thomas 6a90090
## </param>
Michael Thomas 6a90090
#
Michael Thomas 6a90090
interface(`cyphesis_domtrans',`
Michael Thomas 6a90090
	gen_require(`
Michael Thomas 6a90090
		type cyphesis_t, cyphesis_exec_t;
Michael Thomas 6a90090
	')
Michael Thomas 6a90090
Michael Thomas 6a90090
	domain_auto_trans($1,cyphesis_exec_t,cyphesis_t)
Michael Thomas 6a90090
Michael Thomas 6a90090
	allow $1 cyphesis_t:fd use;
Michael Thomas 6a90090
	allow cyphesis_t $1:fd use;
Michael Thomas 6a90090
	allow cyphesis_t $1:fifo_file rw_file_perms;
Michael Thomas 6a90090
	allow cyphesis_t $1:process sigchld;
Michael Thomas 6a90090
')