23 lines
811 B
Diff
23 lines
811 B
Diff
|
commit ace8e04477662aff656b341ca173d1205e02b46e
|
||
|
Author: Christian Boltz <apparmor@cboltz.de>
|
||
|
Date: Sun Aug 28 12:32:17 2022 +0200
|
||
|
|
||
|
Allow reading /sys/devices/system/cpu/possible
|
||
|
|
||
|
... in the dnsmasq//libvirt_leaseshelper profile
|
||
|
|
||
|
Fixes: https://bugzilla.opensuse.org/show_bug.cgi?id=1202849
|
||
|
|
||
|
diff --git a/profiles/apparmor.d/usr.sbin.dnsmasq b/profiles/apparmor.d/usr.sbin.dnsmasq
|
||
|
index 379d72fb0..9a5ca0b78 100644
|
||
|
--- a/profiles/apparmor.d/usr.sbin.dnsmasq
|
||
|
+++ b/profiles/apparmor.d/usr.sbin.dnsmasq
|
||
|
@@ -127,6 +127,7 @@ profile dnsmasq /usr/{bin,sbin}/dnsmasq flags=(attach_disconnected) {
|
||
|
owner @{PROC}/@{pid}/status r,
|
||
|
|
||
|
@{sys}/devices/system/cpu/ r,
|
||
|
+ @{sys}/devices/system/cpu/possible r,
|
||
|
@{sys}/devices/system/node/ r,
|
||
|
@{sys}/devices/system/node/*/meminfo r,
|
||
|
|