mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-01 06:45:38 +00:00
Merge abstractions/nameservice: tighten libnss_libvirt file access
Limit access to \*.status files located in /var/lib/libvirt/dnsmasq/ as opposed to every file in the same directory. MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1379 Approved-by: Christian Boltz <apparmor@cboltz.de> Merged-by: John Johansen <john@jjmx.net>
This commit is contained in:
@@ -63,7 +63,8 @@
|
|||||||
@{run}/nscd/db* rmix,
|
@{run}/nscd/db* rmix,
|
||||||
|
|
||||||
# make libnss-libvirt name resolution work.
|
# make libnss-libvirt name resolution work.
|
||||||
/var/lib/libvirt/dnsmasq/* r,
|
/var/lib/libvirt/dnsmasq/ r,
|
||||||
|
/var/lib/libvirt/dnsmasq/*.status r,
|
||||||
|
|
||||||
# The nss libraries are sometimes used in addition to PAM; make sure
|
# The nss libraries are sometimes used in addition to PAM; make sure
|
||||||
# they are available
|
# they are available
|
||||||
|
Reference in New Issue
Block a user