Re: [libvirt] [PATCH v3 13/15] vircgroup: introduce virCgroupV2DenyAllDevices

2019-06-18 Thread Ján Tomko
On Thu, Apr 25, 2019 at 09:44:30AM +0200, Pavel Hrdina wrote: If we want to deny all devices we just need to replace any existing program with new program with empty map. Signed-off-by: Pavel Hrdina --- src/util/vircgroupv2.c | 11 +++ 1 file changed, 11 insertions(+) Reviewed-by: Ján

[libvirt] [PATCH v3 13/15] vircgroup: introduce virCgroupV2DenyAllDevices

2019-04-25 Thread Pavel Hrdina
If we want to deny all devices we just need to replace any existing program with new program with empty map. Signed-off-by: Pavel Hrdina --- src/util/vircgroupv2.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/src/util/vircgroupv2.c b/src/util/vircgroupv2.c index a8ba9b9e9e..6