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

Pàgina inicial
Delete this message
Reply to this message
Autor: Michael Haardt
Data:  
A: exim-dev
Assumpte: 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 10:14:48AM +0000, Tony Finch wrote:
> On Wed, 2 Mar 2005, Philip Hazel wrote:
>
> > Opinions, please.
>
> Daemons should be started from a clean environment that has either closed
> all fds or has set their close-on-exec flag.


Why?

Exim works fine as it is and closing all file descriptors, not knowing
what they do, annoys subsystems that use them, e.g. debug libraries
linked to the daemon.

Michael