]> git.ipfire.org Git - thirdparty/libvirt.git/commit
apparmor: Allow access to /sys/devices/system/node/*/cpumap for libnuma
authorSergio Durigan Junior <sergio.durigan@canonical.com>
Thu, 11 Jan 2024 21:17:41 +0000 (16:17 -0500)
committerJim Fehlig <jfehlig@suse.com>
Thu, 11 Jan 2024 22:15:23 +0000 (15:15 -0700)
commit6fa82fd8e23bed12ca67b86e6d093c0031881887
treea4755144b693320c9f015e192e738228b21e8501
parent9e555699a2cd6c21ec52fa483bbaa85b0cf4f136
apparmor: Allow access to /sys/devices/system/node/*/cpumap for libnuma

A QEMU change (10218ae6d006f76410804cc4dc690085b3d008b5) introduced
some libnuma calls that require read access to
/sys/devices/system/node/*/cpumap, which currently is forbidden by the
standard apparmor profile.

This commit allows read-only access to the file specified above.

Closes: https://gitlab.com/libvirt/libvirt/-/issues/515
Signed-off-by: Sergio Durigan Junior <sergio.durigan@canonical.com>
Reviewed-by: Jim Fehlig <jfehlig@suse.com>
src/security/apparmor/libvirt-qemu.in