[PATCH 0/2] Fix a few deadlocks with musl libc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix a couple of deadlocks due to use of async-unsafe calls (malloc/free)
after fork() and before exec(). They don't fix all theoretical problems
but at least they make libvirt usable again with musl 1.2 on Alpine Linux.

Natanael Copa (2):
  util: avoid free() when reset log after fork
  util: command: improve generic mass close of fds

 src/util/vircommand.c | 80 ++++++++++++++++++++++++++++++++-----------
 src/util/virlog.c     | 44 ++++++++++++++++++------
 src/util/virlog.h     |  1 +
 3 files changed, 95 insertions(+), 30 deletions(-)

-- 
2.28.0





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux