On Fri, Nov 13, 2009 at 5:17 PM, Kevin Wolf <kw...@redhat.com> 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.

> -        c = accept(s, (struct sockaddr *)&addr, &addrlen);
> +        c = qemu_accept(s, (struct sockaddr *)&addr, &addrlen);

Would it be possible to improve the interface so that no casts are
needed for the calling code?


Reply via email to