You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
506 B

  1. --- a/profiles/apparmor.d/usr.sbin.dnsmasq
  2. +++ b/profiles/apparmor.d/usr.sbin.dnsmasq
  3. @@ -18,6 +18,7 @@ profile dnsmasq /usr/{bin,sbin}/dnsmasq
  4. include <abstractions/base>
  5. include <abstractions/dbus>
  6. include <abstractions/nameservice>
  7. + include <abstractions/user-tmp>
  8. capability chown,
  9. capability net_bind_service,
  10. @@ -38,6 +39,8 @@ profile dnsmasq /usr/{bin,sbin}/dnsmasq
  11. @{PROC}/@{pid}/fd/ r,
  12. + /tmp/** r,
  13. +
  14. /etc/dnsmasq.conf r,
  15. /etc/dnsmasq.d/ r,
  16. /etc/dnsmasq.d/* r,