Web lists-archives.com

Re: I'm done with O_CLOEXEC


On Tue, Mar 31, 2015, at 03:48, Alexander Larsson wrote:
> In general, setting O_CLOEXEC is a nice thing to do, but doing so does
> not change the fundamental fact that you can't rely on it being set.

This is pretty much the entire point of this thread.  I now consider
O_CLOEXEC as a 'nice to have', but I will not consider it to be a bug if
we fail to do it in some place.

On the other side of things, it is expected that anyone doing
fork()/exec() really -must- go through the close-the-fds song and dance.

gtk-devel-list mailing list