2006-01-16 18:30:14 +00:00
|
|
|
## <summary>ucspitcp policy</summary>
|
|
|
|
## <desc>
|
2008-07-23 21:38:39 +00:00
|
|
|
## <p>
|
|
|
|
## Policy for DJB's ucspi-tcpd
|
|
|
|
## </p>
|
2006-01-16 18:30:14 +00:00
|
|
|
## </desc>
|
|
|
|
|
|
|
|
########################################
|
|
|
|
## <summary>
|
2008-12-03 19:16:20 +00:00
|
|
|
## Define a specified domain as a ucspitcp service.
|
2006-01-16 18:30:14 +00:00
|
|
|
## </summary>
|
|
|
|
## <param name="domain">
|
2006-02-10 18:41:53 +00:00
|
|
|
## <summary>
|
2008-12-03 19:16:20 +00:00
|
|
|
## Domain allowed access.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </summary>
|
2006-01-16 18:30:14 +00:00
|
|
|
## </param>
|
|
|
|
## <param name="entrypoint">
|
2006-02-10 18:41:53 +00:00
|
|
|
## <summary>
|
2008-12-03 19:16:20 +00:00
|
|
|
## The type associated with the process program.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </summary>
|
2006-01-16 18:30:14 +00:00
|
|
|
## </param>
|
|
|
|
#
|
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Signed-off-by: Dominick Grift <domg472@gmail.com>
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
2010-09-16 06:24:26 +00:00
|
|
|
interface(`ucspitcp_service_domain',`
|
2006-01-16 18:30:14 +00:00
|
|
|
gen_require(`
|
|
|
|
type ucspitcp_t;
|
|
|
|
role system_r;
|
|
|
|
')
|
|
|
|
|
|
|
|
domain_type($1)
|
2008-07-23 21:38:39 +00:00
|
|
|
domain_entry_file($1, $2)
|
2006-01-16 18:30:14 +00:00
|
|
|
|
|
|
|
role system_r types $1;
|
|
|
|
|
2010-09-16 06:51:01 +00:00
|
|
|
domtrans_pattern(ucspitcp_t, $2, $1)
|
2006-01-16 18:30:14 +00:00
|
|
|
')
|