From: Eric W. Biederman
Date: Tue Oct 03 2017 - 16:33:23 EST

Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> writes:

> On Tue, Oct 3, 2017 at 12:30 PM, Eric W. Biederman
> <ebiederm@xxxxxxxxxxxx> wrote:
>> We never signal the orignal parent. We signal the child that
>> requested the pdeath_signal when the original parent dies.
> Yeah, I keep making that mistake, because I always confuse this with
> the exit_signal handling.
> Just mentally kick me next time I do that: "Christ, Linus, not
> *again*! Take your damn meds"
> Anyway, it's more the "another confusing and fragile special case that
> will probably not be used very widely and cause confusion because it
> lacks any test coverage" thing I worry about most.

Agreed. That makes a more general solution perferable.