Re: [PATCH v2] qemu_namespace: Don't leak mknod items that are being skipped over

2020-09-07 Thread Ján Tomko
On a Monday in 2020, Michal Privoznik wrote: When building and populating domain NS a couple of functions are called that append paths to a string list. This string list is then inspected, one item at the time by qemuNamespacePrepareOneItem() which gathers all the info for given path (stat buffer

[PATCH v2] qemu_namespace: Don't leak mknod items that are being skipped over

2020-09-07 Thread Michal Privoznik
When building and populating domain NS a couple of functions are called that append paths to a string list. This string list is then inspected, one item at the time by qemuNamespacePrepareOneItem() which gathers all the info for given path (stat buffer, possible link target, ACLs, SELinux label) us