diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2008-05-06 17:57:22 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2008-05-06 17:57:22 -0700 |
commit | 46d72e82f4069d281f61a9fdbae11157241f3553 (patch) | |
tree | 16795bc4d0127f3f39051bc938f6ed17fa54eccf /session.c | |
parent | b4ac133b92e08a34054d0af9481ab59b03571818 (diff) |
Bug 10145: xdm passes file descriptors to children
X.Org Bugzilla #10145 <https://bugs.freedesktop.org/show_bug.cgi?id=10145>
Patch #14644 <https://bugs.freedesktop.org/attachment.cgi?id=14644>
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -846,6 +846,10 @@ runAndWait (char **args, char **environ) switch (pid = fork ()) { case 0: CleanUpChild (); +#ifdef XDMCP + /* The chooser socket is not closed by CleanUpChild() */ + DestroyWellKnownSockets(); +#endif execute (args, environ); LogError ("can't execute \"%s\" (err %d)\n", args[0], errno); exit (1); |