selinux-policy/policy/modules/apps/authbind.if
Dominick Grift 03b86663f0 apps: domain { allowed to transition, allowed access, to not audit }.
Signed-off-by: Dominick Grift <domg472@gmail.com>
2010-08-05 08:20:59 -04:00

21 lines
494 B
Plaintext

## <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;
')