[Freeipa-devel] [PATCH] Make child processes exit when parent dies

Stephen Gallagher sgallagh at redhat.com
Tue Aug 11 16:32:34 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/11/2009 11:43 AM, Stephen Gallagher wrote:
> On 08/11/2009 10:44 AM, Jakub Hrozek wrote:
>> On 08/06/2009 05:13 PM, Jakub Hrozek wrote:
>>> We could catch most signals the way we do catch SIGTERM and relay them
>>> to children. This still wouldn't cover the SIGKILL case where the admin
>>> shoots down monitor. This is cross-platform which is of course huge
>>> advantage.
>>> But in my opinion, we should still use prctl() where available, because
>>> it is much cleaner solution -- you don't have to explicitly enumerate
>>> all the signals to handle and you can also cover the SIGKILL case.
> 
>> Attached is a patch that says the same in C.
> 
>> 	Jakub
> 
> Ack
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel
> 
> 

Pushed to master.
_______________________________________________
Freeipa-devel mailing list
Freeipa-devel at redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel


- -- 
Stephen Gallagher
RHCE 804006346421761

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkqBnSIACgkQeiVVYja6o6N3dgCfUYdGUV63W9BBBkeoZH+CRQb8
hJIAn1SPtm0KuDu27Gx+4UJUFV6jyXve
=+GZt
-----END PGP SIGNATURE-----




More information about the Freeipa-devel mailing list