mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
apparmor: read only access to overcommit_memory
Allow qemu to read @{PROC}/sys/vm/overcommit_memory. This is read on guest start-up and (as read-only) not a critical secret that has to stay hidden. Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com> Signed-off-by: Stefan Bader <stefan.bader@canonical.com> Signed-off-by: Jamie Strandboge <jamie@ubuntu.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
8b6ee1afdb
commit
e16967fd6e
@ -32,6 +32,7 @@
|
|||||||
# only modify its comm value or those in its thread group.
|
# only modify its comm value or those in its thread group.
|
||||||
owner @{PROC}/@{pid}/task/@{tid}/comm rw,
|
owner @{PROC}/@{pid}/task/@{tid}/comm rw,
|
||||||
@{PROC}/sys/kernel/cap_last_cap r,
|
@{PROC}/sys/kernel/cap_last_cap r,
|
||||||
|
@{PROC}/sys/vm/overcommit_memory r,
|
||||||
|
|
||||||
# For hostdev access. The actual devices will be added dynamically
|
# For hostdev access. The actual devices will be added dynamically
|
||||||
/sys/bus/usb/devices/ r,
|
/sys/bus/usb/devices/ r,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user