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; On Fri, 18 Aug 2006, Logu wrote: > > sshd closes all fd's unconditionally. It should only happen once ...


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

On Fri, 18 Aug 2006, Logu wrote:

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

vB 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 07:03 PM.


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