Blame policy/modules/apps/authbind.if
|
Chris PeBenito |
b6b574 |
## <summary>Tool for non-root processes to bind to reserved ports</summary>
|
|
Chris PeBenito |
b6b574 |
|
|
Chris PeBenito |
b6b574 |
########################################
|
|
Chris PeBenito |
b6b574 |
## <summary>
|
|
Chris PeBenito |
b6b574 |
## Use authbind to bind to a reserved port.
|
|
Chris PeBenito |
b6b574 |
## </summary>
|
|
Chris PeBenito |
b6b574 |
## <param name="domain">
|
|
Chris PeBenito |
b6b574 |
## <summary>
|
|
Dominick Grift |
03b866 |
## Domain allowed to transition.
|
|
Chris PeBenito |
b6b574 |
## </summary>
|
|
Chris PeBenito |
b6b574 |
## </param>
|
|
Chris PeBenito |
b6b574 |
#
|
|
Chris PeBenito |
b6b574 |
interface(`authbind_domtrans',`
|
|
Chris PeBenito |
b6b574 |
gen_require(`
|
|
Chris PeBenito |
b6b574 |
type authbind_t, authbind_exec_t;
|
|
Chris PeBenito |
b6b574 |
')
|
|
Chris PeBenito |
b6b574 |
|
|
Chris PeBenito |
0bfccd |
domtrans_pattern($1, authbind_exec_t, authbind_t)
|
|
Chris PeBenito |
b6b574 |
allow authbind_t $1:{ tcp_socket udp_socket } rw_socket_perms;
|
|
Chris PeBenito |
b6b574 |
')
|