passt/contrib/apparmor
Stefano Brivio 6d3e426d2f apparmor: Use abstractions/nameservice to deal with symlinked resolv.conf
While abstractions/nameservice appeared too broad and overkill for
our simple need (read-only resolv.conf access), it properly deals
with symlinked resolv.conf files generated by systemd-resolved,
NetworkManager or suchlike.

If we just grant read-only access to /etc/resolv.conf, we'll fail to
read nameserver information in rather common configurations, because
AppArmor won't follow the symlink.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
2023-09-06 20:39:12 +02:00
..
abstractions apparmor: Use abstractions/nameservice to deal with symlinked resolv.conf 2023-09-06 20:39:12 +02:00
usr.bin.passt passt: Relicense to GPL 2.0, or any later version 2023-04-06 18:00:33 +02:00