too many close calls for non-opened fds

Damien Miller djm at mindrot.org
Sat Aug 19 21:32:36 EST 2006


On Sat, 19 Aug 2006, Logu wrote:

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

Yes, if sshd is started with any extra fds attached then they will be
made available to all subsequent child processes. Depending on what those
fds are, it could be bad...

-d



More information about the openssh-unix-dev mailing list