Richard W.M. Jones 3d7e80e2e8 daemon: chroot: Fix long-standing possible deadlock.
The child (chrooted) process wrote its answer on the pipe and then
exited.  Meanwhile the parent waiting for the child to exit before
reading from the pipe.  Thus if the output was larger than a Linux
pipebuffer then the whole thing would deadlock.

(cherry picked from commit 94e64b28be)
2021-04-03 11:24:42 +01:00
2021-01-05 15:53:51 +00:00
2020-03-06 19:32:32 +00:00
2020-03-06 19:32:32 +00:00
2021-04-03 11:22:30 +01:00
2020-03-06 19:32:32 +00:00
2020-03-06 19:32:32 +00:00
2020-03-06 19:32:32 +00:00
2021-01-06 10:18:34 +00:00
2021-01-06 10:18:34 +00:00
2020-03-06 19:32:32 +00:00
2018-02-22 15:06:13 +00:00
2020-03-06 19:32:32 +00:00
2019-11-28 13:09:21 +01:00
2021-01-06 10:18:34 +00:00
2020-01-14 16:21:22 +01:00
2021-01-06 10:18:34 +00:00
2019-11-13 12:49:55 +00:00
2020-03-06 19:32:32 +00:00
2021-01-06 10:18:34 +00:00
2020-10-06 15:26:14 +01:00
2020-03-06 19:32:32 +00:00

Libguestfs is tools and a library for accessing and modifying guest
disk images.  For more information see the home page:

  http://libguestfs.org/

For discussion, development, patches, etc. please use the mailing
list:

  http://www.redhat.com/mailman/listinfo/libguestfs

To find out how to build libguestfs from source, read:

  docs/guestfs-building.pod
  http://libguestfs.org/guestfs-building.1.html
  man docs/guestfs-building.1

Copyright (C) 2009-2020 Red Hat Inc.

The library is distributed under the LGPLv2+.  The programs are
distributed under the GPLv2+.  Please see the files COPYING and
COPYING.LIB for full license information.  The examples are under a
very liberal license.
Languages
C 42.7%
OCaml 35.5%
Shell 7.1%
Makefile 4%
Perl 2.6%
Other 8%