[PATCH v2 0/5] Improve closing of FDs for child processes
Ján Tomko
jtomko at redhat.com
Wed Aug 23 15:28:40 UTC 2023
On a Tuesday in 2023, Michal Privoznik wrote:
>This is a v2 of:
>
>https://listman.redhat.com/archives/libvir-list/2023-June/240351.html
>
>Hopefully, I've implemented all Dan's suggestions.
>
>Michal Prívozník (5):
> virfile: Introduce virCloseRange()
> virfile: Introduce virCloseFrom()
> vircommand: Unify mass FD closing
> vircommand: Introduce virCommandMassCloseRange()
> src: Detect close_range syscall during virGlobalInit()
>
> src/libvirt.c | 4 +
> src/libvirt_private.syms | 4 +
> src/util/vircommand.c | 160 ++++++++++++++++++++++++---------------
> src/util/virfile.c | 110 +++++++++++++++++++++++++++
> src/util/virfile.h | 5 ++
> tests/commandtest.c | 2 +
> 6 files changed, 222 insertions(+), 63 deletions(-)
>
Reviewed-by: Ján Tomko <jtomko at redhat.com>
Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20230823/e4dbec59/attachment.sig>
More information about the libvir-list
mailing list