profiles/apparmor.d/tinyproxy: allow dgram and netlink network access

This is required for DNS resolution

Signed-off-by: Alex Murray <alex.murray@canonical.com>
This commit is contained in:
Alex Murray 2025-02-06 18:15:00 +10:30
parent 8729c65bfe
commit f2a6860767
Failed to generate hash of commit

View file

@ -40,8 +40,14 @@ profile tinyproxy /usr/bin/tinyproxy {
file r /usr/share/tinyproxy/*, #ErrorFile, DefaultErrorFile, StatFile etc
# for network access
network inet stream,
network inet dgram,
network inet6 stream,
network inet6 dgram,
# for DNS resolution
network netlink raw,
# Site-specific additions and overrides. See local/README for details.
include if exists <local/tinyproxy>