[Freeipa-devel] [PATCH] Make child processes exit when parent dies
Stephen Gallagher
sgallagh at redhat.com
Tue Aug 11 15:43:07 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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
- --
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/
iEYEARECAAYFAkqBkYcACgkQeiVVYja6o6Nw2wCfe1mA+9hzZbsbDOdQqj/0K64S
SwMAn0+X7+blI3d/WcFEQ7KYh94ccGg0
=ITeU
-----END PGP SIGNATURE-----
More information about the Freeipa-devel
mailing list