Chris PeBenito ab58ad
#DESC howl - port of Apple Rendezvous multicast DNS
Chris PeBenito ab58ad
#
Chris PeBenito ab58ad
# Author:  Russell Coker <rcoker@redhat.com>
Chris PeBenito ab58ad
#
Chris PeBenito ab58ad
Chris PeBenito ab58ad
daemon_domain(howl, `, privsysmod')
Chris PeBenito ab58ad
r_dir_file(howl_t, proc_net_t)
Chris PeBenito ab58ad
can_network_server(howl_t)
Chris PeBenito ab58ad
can_ypbind(howl_t)
Chris PeBenito ab58ad
allow howl_t self:unix_dgram_socket create_socket_perms;
Chris PeBenito ab58ad
allow howl_t self:capability { kill net_admin sys_module };
Chris PeBenito ab58ad
Chris PeBenito ab58ad
allow howl_t self:fifo_file rw_file_perms;
Chris PeBenito ab58ad
Chris PeBenito ab58ad
allow howl_t howl_port_t:{ udp_socket tcp_socket } name_bind;
Chris PeBenito ab58ad
Chris PeBenito ab58ad
allow howl_t self:unix_dgram_socket create_socket_perms;
Chris PeBenito ab58ad
Chris PeBenito ab58ad
allow howl_t etc_t:file { getattr read };
Chris PeBenito ab58ad
allow howl_t initrc_var_run_t:file rw_file_perms;
Chris PeBenito ab58ad