Chris PeBenito 4aa0dc
## <summary>Policy for TCP daemon.</summary>
Chris PeBenito 246a60
Chris PeBenito 246a60
########################################
Chris PeBenito 246a60
## <summary>
Chris PeBenito 246a60
##	Execute tcpd in the tcpd domain.
Chris PeBenito 246a60
## </summary>
Chris PeBenito 246a60
## <param name="domain">
Chris PeBenito 246a60
##	The type of the process performing this action.
Chris PeBenito 246a60
## </param>
Chris PeBenito 246a60
#
Chris PeBenito 246a60
interface(`tcpd_domtrans',`
Chris PeBenito 246a60
	gen_require(`
Chris PeBenito 246a60
		type tcpd_t, tcpd_exec_t;
Chris PeBenito 246a60
	')
Chris PeBenito 246a60
Chris PeBenito 246a60
	domain_auto_trans($1,tcpd_exec_t,tcpd_t)
Chris PeBenito 246a60
Chris PeBenito 246a60
	allow $1 tcpd_t:fd use;
Chris PeBenito 246a60
	allow tcpd_t $1:fd use;
Chris PeBenito 246a60
	allow tcpd_t $1:fifo_file rw_file_perms;
Chris PeBenito 246a60
	allow tcpd_t $1:process sigchld;
Chris PeBenito 246a60
')