qemu-devel
[Top][All Lists]
Advanced

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

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


From: Kevin Wolf
Subject: [Qemu-devel] Re: [PATCH v2] Don't leak file descriptors
Date: Wed, 02 Dec 2009 12:26:47 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Thunderbird/3.0b4

Am 02.12.2009 12:24, schrieb 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 <address@hidden>
> ---
> 
> v2:
> - The existence of SOCK_CLOEXEC doesn't mean that accept4 exists. Added a 
> check
>   for it in configure.

v3 even. Anthony, I hope this doesn't confuse your scripts?

Kevin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]