On Wed, 2009-08-05 at 18:25 -0400, Dmitri Pal wrote:
> Jakub Hrozek wrote:
> > The attached patch addresses ticket #84.
> >
> > The implementation is unfortunately Linux-specific as it uses the
> > prctl(2) syscall. Ideas how to accomplish this in a cross-platform
> > manner are welcome.
> >
> >
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 08/06/2009 05:53 AM, Simo Sorce wrote:
> On Wed, 2009-08-05 at 18:25 -0400, Dmitri Pal wrote:
>> Jakub Hrozek wrote:
>>> The attached patch addresses ticket #84.
>>>
>>> The implementation is unfortunately Linux-specific as it uses the
>>> prctl(2)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 08/06/2009 11:53 AM, Simo Sorce wrote:
>> How do we fork processes?
>> > If we just fork and do not daemonize then children should just die
>> > (system sends sigterm to children AFAIR) when the parent process exits.
>> > At least that is what used
Jakub Hrozek wrote:
> On 08/06/2009 11:53 AM, Simo Sorce wrote:
> >> How do we fork processes?
> >>> If we just fork and do not daemonize then children should just die
> >>> (system sends sigterm to children AFAIR) when the parent process
> exits.
> >>> At least that is what used to happen in old d
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 08/06/2009 12:55 PM, Dmitri Pal wrote:
> if it detects that parent process goes away. Am I wrong?
Yes. Orphan children become children of init instead. This is in fact
how daemonizing works.
- --
Stephen Gallagher
RHCE 804006346421761
Looking to