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