Skip to content
Snippets Groups Projects
Commit a792bca3 authored by Nick Kralevich's avatar Nick Kralevich Committed by Gerrit Code Review
Browse files

Merge "Make dnsmasq permissive or unconfined."

parents 4ba87078 c6a28f0c
No related branches found
No related tags found
No related merge requests found
# DNS, DHCP services
type dnsmasq, domain; type dnsmasq, domain;
permissive_or_unconfined(dnsmasq)
type dnsmasq_exec, exec_type, file_type; type dnsmasq_exec, exec_type, file_type;
init_daemon_domain(dnsmasq) allow dnsmasq self:capability { net_bind_service setgid setuid };
net_domain(dnsmasq) allow dnsmasq self:tcp_socket create_socket_perms;
unconfined_domain(dnsmasq)
allow dnsmasq dhcp_data_file:dir w_dir_perms;
allow dnsmasq dhcp_data_file:file create_file_perms;
allow dnsmasq port:tcp_socket name_bind;
allow dnsmasq node:tcp_socket node_bind;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment