Blob Blame History Raw
## <summary>policy for xpilot-ng</summary>

########################################
## <summary>
##	Execute a domain transition to run xpilot-ng-server.
## </summary>
## <param name="domain">
## <summary>
##	Domain allowed to transition.
## </summary>
## </param>
#
interface(`xpilotd_domtrans',`
	gen_require(`
		type xpilotd_t, xpilotd_exec_t;
	')

	domain_auto_trans($1,xpilotd_exec_t,xpilotd_t)

	allow $1 xpilotd_t:fd use;
	allow xpilotd_t $1:fd use;
	allow xpilotd_t $1:fifo_file rw_file_perms;
	allow xpilotd_t $1:process sigchld;
')