[Qemu-devel] [PATCH v2] Don't leak file descriptors

2009-12-02 Thread Kevin Wolf
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

Re: [Qemu-devel] [PATCH v2] Don't leak file descriptors

2009-12-02 Thread Kevin Wolf
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

Re: [Qemu-devel] [PATCH v2] Don't leak file descriptors

2009-12-01 Thread 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 > --- > block/raw-posix.c |2 +- > gdbstub.c |6 +++ > kvm-all.c

[Qemu-devel] [PATCH v2] Don't leak file descriptors

2009-11-16 Thread Kevin Wolf
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|