2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 06:16:03 +00:00

policy: invalid path to libvirt_leaseshelper in usr.sbin.dnsmasq

Another instance of using libvirt_leaseshelper without having
libexec access. As addressed in the previous patch.

issue: https://gitlab.com/apparmor/apparmor/-/issues/87
Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
Vladimir “Equidamoid” Shapranov @equidamoid
2020-03-28 14:00:58 -07:00
committed by John Johansen
parent 28fce5f76d
commit e731b8a335

View File

@@ -109,6 +109,7 @@ profile dnsmasq /usr/{bin,sbin}/dnsmasq flags=(attach_disconnected) {
/etc/libnl-3/classid r,
/usr/lib{,64}/libvirt/libvirt_leaseshelper m,
/usr/libexec/libvirt_leaseshelper m,
owner @{PROC}/@{pid}/net/psched r,
owner @{PROC}/@{pid}/status r,