Re: [exim-dev] [patch] please consider closing all fds on da…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Marc Haber
Date:  
À: exim-dev
Sujet: Re: [exim-dev] [patch] please consider closing all fds on daemon startup (was: Changes in the daemon startup code, fd's not properly closed?)
On Wed, Mar 02, 2005 at 09:21:26AM +0000, Philip Hazel wrote:
> The question therefore is: is it worth just closing 1-255? Will that
> take significant time? Why not 1-127 or 1-63 or 1-511? Maybe this should
> be configurable at build time?


No, the way things are at the moment are the right thing. Closing file
descriptors that we didn't open are prone to break the environment as
it has happened for libnss-ldap and the Debian patched exim. Debian
has backed out the patch to un-break libnss-ldap.

Things are fine, don't change.

Greetings
Marc, correcting an earlier mistake

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835