aboutsummaryrefslogtreecommitdiffstats
path: root/dnsmasq.te
blob: fcf7c6d3d77796625539dce261d84037440fac31 (plain)
1
2
3
4
5
6
7
8
9
10
11
# DNS, DHCP services
type dnsmasq, domain;
permissive_or_unconfined(dnsmasq)
type dnsmasq_exec, exec_type, file_type;

net_domain(dnsmasq)

allow dnsmasq self:capability { net_bind_service setgid setuid };

allow dnsmasq dhcp_data_file:dir w_dir_perms;
allow dnsmasq dhcp_data_file:file create_file_perms;