>> > 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
>

Hi Damien

I understand what you are saying. But even when closefrom is called only
once per sshd is started, we see lot of close calls. Do you see some side
effects in doing the fix the way I did. Your comments will be appreciated.

Thanks
-logu

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/lis...enssh-unix-dev