> The forked process could exec itself to close fd's higher
> than $^F (ordinarily 2) for the initial leak. But I suspect
> there's no easy way to close fd's more selectively.
>
Yeah I had thought about the exec(), but being its a library I would
have no idea what to exec...they could tell me but
On Dec 11, 3:10 pm, james.o...@gmail.com (James Olin Oden) wrote:
> On Fri, Dec 11, 2009 at 4:36 PM, Shawn H Corey wrote:
>
> > James Olin Oden wrote:
> >> Hi All,
>
> >> This is really not a beginner question but I'm not sure what list to post
> >> it on.
>
> >> I've created a daemon library for
On Fri, Dec 11, 2009 at 4:36 PM, Shawn H Corey wrote:
> James Olin Oden wrote:
>> Hi All,
>>
>> This is really not a beginner question but I'm not sure what list to post it
>> on.
>>
>> I've created a daemon library for easily building daemons and at some
>> point code was added to handle closing
James Olin Oden wrote:
> Hi All,
>
> This is really not a beginner question but I'm not sure what list to post it
> on.
>
> I've created a daemon library for easily building daemons and at some
> point code was added to handle closing all fd's so the daemonized
> process would not have fd's hang