mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 14:25:52 +00:00
Allow dnsmasq read access to IPv6 config
The IPv6 Neighbor Discovery protocol (RFC 2461) suggests implementations provide MTU in Router Advertisement (RA) messages. From section 4.2 MTU SHOULD be sent on links that have a variable MTU (as specified in the document that describes how to run IP over the particular link type). MAY be sent on other links. dnsmasq supports this option and should have read access to an interface's MTU. Patch by James Fehlig <jfehlig@suse.com> slightly modified (../conf/**/mtu -> ../conf/*/mtu) Acked-by: Seth Arnold <seth.arnold@canonical.com>
This commit is contained in:
@@ -44,6 +44,10 @@
|
||||
|
||||
/var/lib/misc/dnsmasq.leases rw, # Required only for DHCP server usage
|
||||
|
||||
# access to iface mtu needed for Router Advertisement messages in IPv6
|
||||
# Neighbor Discovery protocol (RFC 2461)
|
||||
@{PROC}/sys/net/ipv6/conf/**/mtu r,
|
||||
|
||||
# for the read-only TFTP server
|
||||
@{TFTP_DIR}/ r,
|
||||
@{TFTP_DIR}/** r,
|
||||
|
Reference in New Issue
Block a user