projects
/
free-sw
/
xcb
/
libxcb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
53a9834
)
Open the X11 socket with close-on-exec flag
author
Rémi Denis-Courmont
<remi@remlab.net>
Sat, 13 Feb 2010 10:23:51 +0000
(12:23 +0200)
committer
Julien Danjou
<julien@danjou.info>
Wed, 17 Feb 2010 09:09:43 +0000
(10:09 +0100)
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>
No differences found