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; >> > sshd closes all fd's unconditionally. It should only happen once per >> > sshd invocation ...


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-19-2006
Logu
 
Posts: n/a
Default Re: too many close calls for non-opened fds


>> > 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
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 06:05 AM.


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