Oreon-Lime-R2/selinux-policy/selinux-policy-d9f4a2b/selinux-policy-d9f4a2bbeb91fd95d0c35a90936efb9ea99d2455/policy/modules/contrib/ucspitcp.if

30 lines
587 B
Text
Raw Normal View History

## <summary>UNIX Client-Server Program Interface for TCP.</summary>
########################################
## <summary>
## Define a specified domain as a ucspitcp service.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
## <param name="entrypoint">
## <summary>
## The type associated with the process program.
## </summary>
## </param>
#
interface(`ucspitcp_service_domain',`
gen_require(`
type ucspitcp_t;
')
domain_type($1)
domain_entry_file($1, $2)
role system_r types $1;
domtrans_pattern(ucspitcp_t, $2, $1)
')