This is a multi-part message in MIME format.

------=_NextPart_000_01CF_01C6C31F.9A50B1E0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
reply-type=original
Content-Transfer-Encoding: 7bit

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



------=_NextPart_000_01CF_01C6C31F.9A50B1E0
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

------=_NextPart_000_01CF_01C6C31F.9A50B1E0--