[Xcb] [PATCH] Open the X11 socket with close-on-exec flag

Julien Danjou julien at danjou.info
Wed Feb 17 01:11:40 PST 2010

Rémi Denis-Courmont <remi at remlab.net> writes:

> This saves the X11 connection from leaking into children processes.
> On Linux, this is fully thread-safe using SOCK_CLOEXEC. On other
> systems, there is a small race condition.

Thanks Remi.

Julien Danjou
// ᐰ <julien at danjou.info>   http://julien.danjou.info
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/xcb/attachments/20100217/468c40f9/attachment.pgp 

More information about the Xcb mailing list