selinux-policy/refpolicy/policy/modules/services/tcpd.if

23 lines
488 B
Plaintext
Raw Normal View History

2005-08-11 15:17:13 +00:00
## <summary>Policy for TCP daemon.</summary>
2005-09-27 22:29:45 +00:00
########################################
## <summary>
## Execute tcpd in the tcpd domain.
## </summary>
## <param name="domain">
## The type of the process performing this action.
## </param>
#
interface(`tcpd_domtrans',`
gen_require(`
type tcpd_t, tcpd_exec_t;
')
domain_auto_trans($1,tcpd_exec_t,tcpd_t)
allow $1 tcpd_t:fd use;
allow tcpd_t $1:fd use;
allow tcpd_t $1:fifo_file rw_file_perms;
allow tcpd_t $1:process sigchld;
')