Chris PeBenito 0fbfa5
#DESC Authbind - Program to bind to low ports as non-root
Chris PeBenito 0fbfa5
#
Chris PeBenito 0fbfa5
# Authors:  Russell Coker <russell@coker.com.au>
Chris PeBenito 0fbfa5
# X-Debian-Packages: authbind
Chris PeBenito 0fbfa5
#
Chris PeBenito 0fbfa5
Chris PeBenito 0fbfa5
#################################
Chris PeBenito 0fbfa5
#
Chris PeBenito 0fbfa5
# Rules for the authbind_t domain.
Chris PeBenito 0fbfa5
#
Chris PeBenito 0fbfa5
# authbind_exec_t is the type of the authbind executable.
Chris PeBenito 0fbfa5
#
Chris PeBenito 0fbfa5
type authbind_t, domain, privlog;
Chris PeBenito 0fbfa5
type authbind_exec_t, file_type, sysadmfile, exec_type;
Chris PeBenito 0fbfa5
Chris PeBenito 0fbfa5
role system_r types authbind_t;
Chris PeBenito 0fbfa5
Chris PeBenito 0fbfa5
etcdir_domain(authbind)
Chris PeBenito 0fbfa5
Chris PeBenito 0fbfa5
can_exec(authbind_t, authbind_etc_t)
Chris PeBenito 0fbfa5
allow authbind_t etc_t:dir r_dir_perms;
Chris PeBenito 0fbfa5
Chris PeBenito 0fbfa5
uses_shlib(authbind_t)
Chris PeBenito 0fbfa5
Chris PeBenito 0fbfa5
allow authbind_t self:capability net_bind_service;
Chris PeBenito 0fbfa5
Chris PeBenito 0fbfa5
allow authbind_t domain:fd use;
Chris PeBenito 0fbfa5
Chris PeBenito 0fbfa5
allow authbind_t console_device_t:chr_file { read write };