too many close calls for non-opened fds

Logu logsnaath at gmx.net
Sat Aug 19 04:09:52 EST 2006


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

A more simplified version of the patch is attached.

-logu




More information about the openssh-unix-dev mailing list