diff options
author | RĂ©mi Denis-Courmont <remi@remlab.net> | 2010-02-13 12:23:51 +0200 |
---|---|---|
committer | Julien Danjou <julien@danjou.info> | 2010-02-17 10:09:43 +0100 |
commit | 53a9834e4cdd11aba8c1cc49347f09a958107de8 (patch) | |
tree | fd98736bfedd488680d4f6a9bf3f23d73b06c4d5 /src/xcb_auth.c | |
parent | 367882fa32489ebafcd9afc04fbf732b02ceb33a (diff) |
Open the X11 socket with close-on-exec flag
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.
Signed-off-by: Julien Danjou <julien@danjou.info>
Diffstat (limited to 'src/xcb_auth.c')
0 files changed, 0 insertions, 0 deletions