Re: too many close calls for non-opened fds

This is a discussion on Re: too many close calls for non-opened fds within the OpenSSH Development forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. ------=_NextPart_000_01B7_01C6C31D.3349F2B0 Content-Type: text/plain; format=flowed; charset="iso-...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-18-2006
Logu
 
Posts: n/a
Default Re: too many close calls for non-opened fds

This is a multi-part message in MIME format.

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

> 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

------=_NextPart_000_01B7_01C6C31D.3349F2B0
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_01B7_01C6C31D.3349F2B0--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:53 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0