[PATCH] virt-aa-helper: delete dynamic files

2025-04-05 Thread Alessandro
b/libvirt/qemu/domain-4-testing-9a4be628/master-key.aes" rwk, "/dev/net/tun" rwk, "/dev/userfaultfd" rwk, Fixes: https://gitlab.com/libvirt/libvirt/-/issues/451 Signed-off-by: Alessandro --- src/security/virt-aa-helper.c | 10 +- 1 file changed, 9 inserti

[PATCH] virt-aa-helper: delete dynamic files

2025-04-04 Thread Alessandro
b/libvirt/qemu/domain-4-testing-9a4be628/master-key.aes" rwk, "/dev/net/tun" rwk, "/dev/userfaultfd" rwk, Fixes: https://gitlab.com/libvirt/libvirt/-/issues/451 Signed-off-by: Alessandro --- src/security/virt-aa-helper.c | 7 ++- 1 file changed, 6 insertions(+), 1

Re: [PATCH] virt-aa-helper: delete dynamic files

2025-04-01 Thread Alessandro
On Tue, 1 Apr 2025 at 14:22, Andrea Bolognani wrote: > > On Tue, Apr 01, 2025 at 10:55:28AM +0200, Alessandro wrote: > > We attempted multiple ways to clean up dynamic files; however, we must > > preserve user overrides, which requires keeping the file > > /etc/apparmo

[PATCH] virt-aa-helper: delete dynamic files

2025-04-01 Thread Alessandro
b/libvirt/qemu/domain-4-testing-9a4be628/master-key.aes" rwk, "/dev/net/tun" rwk, "/dev/userfaultfd" rwk, Fixes: https://gitlab.com/libvirt/libvirt/-/issues/451 Signed-off-by: Alessandro --- src/security/virt-aa-helper.c | 8 ++-- 1 file changed, 6 insertio

[no subject]

2025-04-01 Thread Alessandro
>> tmp = g_strdup_printf(" #include %s\n", >> ifexists, ctl->uuid); >> +tmp_local = g_strdup_printf(" #include >> %s\n", ifexists, ctl->uuid); >> +new_tmp = g_strconcat(tmp, tmp_local, NULL); >> +g_free(tmp); >> +tmp = g_steal_point

Re: [PATCH] virt-aa-helper: delete dynamic files

2025-03-31 Thread Alessandro
On Mon, 31 Mar 2025 at 18:00, Daniel P. Berrangé wrote: > > On Mon, Mar 31, 2025 at 03:01:18PM +0200, Alessandro wrote: > > We attempted multiple ways to clean up dynamic files; however, we must > > preserve user overrides, which requires keeping the file > > /etc/apparmo