[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/1] qemu-nbd: Close inherited stderr
From: |
Raphael Pour |
Subject: |
[PATCH v2 0/1] qemu-nbd: Close inherited stderr |
Date: |
Thu, 14 May 2020 08:31:11 +0200 |
Hello,
introduced with e6df58a5, stderr won't get closed if the fork option is
set. This causes other processes reading stderr to block infinietly or
crash while relying on EOF.
v2:
- Instead of closing the inherited stderr in the child, avoid the dup
in the parent if the fork option is not set.
Raphael Pour (1):
qemu-nbd: Close inherited stderr
qemu-nbd.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
--
2.25.4
- [PATCH v2 0/1] qemu-nbd: Close inherited stderr,
Raphael Pour <=