We're leaking file descriptors to child processes. Set FD_CLOEXEC on file
descriptors that don't need to be passed to children to stop this misbehaviour.
Signed-off-by: Kevin Wolf
---
v2:
- The existence of SOCK_CLOEXEC doesn't mean that accept4 exists. Added a check
for it in configure.
blo
Am 01.12.2009 16:55, schrieb Alexander Graf:
> Kevin Wolf wrote:
>> We're leaking file descriptors to child processes. Set FD_CLOEXEC on file
>> descriptors that don't need to be passed to children to stop this
>> misbehaviour.
>>
>> Signed-off-by: Kevin Wolf
>
> On Anthony's staging tree:
>
> c
Kevin Wolf wrote:
> We're leaking file descriptors to child processes. Set FD_CLOEXEC on file
> descriptors that don't need to be passed to children to stop this
> misbehaviour.
>
> Signed-off-by: Kevin Wolf
> ---
> block/raw-posix.c |2 +-
> gdbstub.c |6 +++
> kvm-all.c
We're leaking file descriptors to child processes. Set FD_CLOEXEC on file
descriptors that don't need to be passed to children to stop this misbehaviour.
Signed-off-by: Kevin Wolf
---
block/raw-posix.c |2 +-
gdbstub.c |6 +++
kvm-all.c |2 +-
migration-tcp.c|