simon-svn: putty: simon
tartarus-commits at lists.tartarus.org
tartarus-commits at lists.tartarus.org
Thu Nov 23 14:32:11 GMT 2006
SVN root: svn://ixion.tartarus.org/main
Changes by: simon
Revision: 6917
Date: 2006-11-23 14:32:11 +0000 (Thu, 23 Nov 2006)
Log message (8 lines):
I've just discovered that using the saved sessions menu from Unix
PuTTY causes the child process to inherit a lot of socket fds from
its parent, which is a pain if one of them then ends up holding open
a listening socket which the parent was using for port forwarding
after the parent itself is dead.
Therefore, this checkin sprinkles FD_CLOEXEC throughout the Unix
platform directory wherever there looks like being a long-lived fd.
Modified files:
U putty/unix/uxagentc.c
U putty/unix/uxnet.c
U putty/unix/uxpty.c
U putty/unix/uxser.c
Links:
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi?rev=6917&view=rev
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/putty/unix/uxagentc.c?rev=6917&r1=6916&r2=6917
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/putty/unix/uxnet.c?rev=6917&r1=6916&r2=6917
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/putty/unix/uxpty.c?rev=6917&r1=6916&r2=6917
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/putty/unix/uxser.c?rev=6917&r1=6916&r2=6917
More information about the tartarus-commits
mailing list