too many close calls for non-opened fds

Logu logsnaath at gmx.net
Sat Aug 19 03:52:40 EST 2006


> On Thu, 17 Aug 2006, Logu wrote:
>
>> I tried by disabling the re-exec feature and still I see a large number 
>> of
>> close() calls during connection.
>> Is there any other possible reason for the issue.
>
> sshd closes all fd's unconditionally. It should only happen once per
> sshd invocation when reexec is disabled.
>
> -d
>

I have attached a patch that prevents calling closefrom() when re-exec is 
disabled. Your comments are welcome.

Thanks
-logu 


More information about the openssh-unix-dev mailing list