too many close calls for non-opened fds

Damien Miller djm at mindrot.org
Sat Aug 19 08:47:54 EST 2006


On Fri, 18 Aug 2006, Logu wrote:

> > sshd closes all fd's unconditionally. It should only happen once per
> > sshd invocation when reexec is disabled.
> 
> I have attached a patch that prevents calling closefrom() when re-exec is
> disabled. Your comments are welcome.

Why do you want to do this? The closefrom is run only *once* per time
sshd is started, not for every connection.

-d



More information about the openssh-unix-dev mailing list