Re: [RESEND PATCH] prctl: add PR_[GS]ET_PDEATHSIG_PROC

From: Linus Torvalds
Date: Tue Oct 03 2017 - 16:02:08 EST


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.

Linus