blob: d28020f14c3c0a035dbca4b1ad83b31fa22f0d10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
## <summary>Tool for non-root processes to bind to reserved ports</summary>
########################################
## <summary>
## Use authbind to bind to a reserved port.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed to transition.
## </summary>
## </param>
#
interface(`authbind_domtrans',`
gen_require(`
type authbind_t, authbind_exec_t;
')
domtrans_pattern($1, authbind_exec_t, authbind_t)
allow authbind_t $1:{ tcp_socket udp_socket } rw_socket_perms;
')
|