mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 16:35:02 +01:00
23 lines
501 B
Text
23 lines
501 B
Text
# Author: John Dong <jdong@ubuntu.com>
|
|
#include <tunables/global>
|
|
/usr/sbin/dnsmasq {
|
|
#include <abstractions/base>
|
|
#include <abstractions/nameservice>
|
|
|
|
capability net_bind_service,
|
|
capability setgid,
|
|
capability setuid,
|
|
capability dac_override,
|
|
|
|
/etc/dnsmasq.conf r,
|
|
/etc/dnsmasq.d/ r,
|
|
/etc/dnsmasq.d/* r,
|
|
|
|
/usr/sbin/dnsmasq mr,
|
|
|
|
/var/run/*dnsmasq*.pid w,
|
|
/var/run/dnsmasq/ r,
|
|
/var/run/dnsmasq/* rw,
|
|
|
|
/var/lib/misc/dnsmasq.leases rw, # Required only for DHCP server usage
|
|
}
|