Chris PeBenito ab58ad
#DESC Radv - IPv6 route advisory daemon
Chris PeBenito ab58ad
#
Chris PeBenito ab58ad
# Author:  Russell Coker <russell@coker.com.au>
Chris PeBenito ab58ad
# X-Debian-Packages: radvd
Chris PeBenito ab58ad
#
Chris PeBenito ab58ad
Chris PeBenito ab58ad
#################################
Chris PeBenito ab58ad
#
Chris PeBenito ab58ad
# Rules for the radvd_t domain.
Chris PeBenito ab58ad
#
Chris PeBenito ab58ad
daemon_domain(radvd)
Chris PeBenito ab58ad
Chris PeBenito ab58ad
etc_domain(radvd)
Chris PeBenito ab58ad
allow radvd_t etc_t:file { getattr read };
Chris PeBenito ab58ad
Chris PeBenito ab58ad
allow radvd_t self:{ rawip_socket unix_dgram_socket } rw_socket_perms;
Chris PeBenito ab58ad
Chris PeBenito ab58ad
allow radvd_t self:capability { setgid setuid net_raw };
Chris PeBenito ab58ad
allow radvd_t self:{ unix_dgram_socket rawip_socket } create;
Chris PeBenito ab58ad
allow radvd_t self:unix_stream_socket create_socket_perms;
Chris PeBenito ab58ad
Chris PeBenito ab58ad
can_network_server(radvd_t)
Chris PeBenito ab58ad
can_ypbind(radvd_t)
Chris PeBenito ab58ad
Chris PeBenito ab58ad
allow radvd_t { proc_t proc_net_t }:dir r_dir_perms;
Chris PeBenito ab58ad
allow radvd_t { proc_t proc_net_t }:file { getattr read };
Chris PeBenito ab58ad
allow radvd_t etc_t:lnk_file read;
Chris PeBenito ab58ad
Chris PeBenito ab58ad
allow radvd_t sysctl_net_t:file r_file_perms;
Chris PeBenito ab58ad
allow radvd_t sysctl_net_t:dir r_dir_perms;