Oreon-Lime-R2/selinux-policy/selinux-policy-bc228bd/selinux-policy-bc228bd0c249a9e4aa3dcf238c2b1bb138943b07/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)
')