## policy for xpilot-ng
########################################
##
## Execute a domain transition to run xpilot-ng-server.
##
##
##
## Domain allowed to transition.
##
##
#
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;
')