From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751250AbdJCUCD (ORCPT ); Tue, 3 Oct 2017 16:02:03 -0400 Received: from mail-it0-f66.google.com ([209.85.214.66]:46748 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750820AbdJCUCC (ORCPT ); Tue, 3 Oct 2017 16:02:02 -0400 X-Google-Smtp-Source: AOwi7QDIoMXCY/lH+vyUAtNwoZnBtmFKa72J+6EN2EOaOtLYRbrSkcwk+rrBa0bOolSOiiB/OCeCJtoHiUwelIzxCkw= MIME-Version: 1.0 In-Reply-To: <87wp4c81wj.fsf@xmission.com> References: <20170909094008.49983-1-j@bitron.ch> <20170929123058.48924-1-j@bitron.ch> <20171002162041.a7cefe8af71327b8becd2347@linux-foundation.org> <87o9pogbf7.fsf@xmission.com> <1507013157.2304.48.camel@bitron.ch> <878tgse1c5.fsf@xmission.com> <87shf0b33q.fsf@xmission.com> <87wp4c81wj.fsf@xmission.com> From: Linus Torvalds Date: Tue, 3 Oct 2017 13:02:00 -0700 X-Google-Sender-Auth: rffC3gnSVXokU7ilnaw9Op2RWQ4 Message-ID: Subject: Re: [RESEND PATCH] prctl: add PR_[GS]ET_PDEATHSIG_PROC To: "Eric W. Biederman" Cc: =?UTF-8?Q?J=C3=BCrg_Billeter?= , Andrew Morton , Oleg Nesterov , Michael Kerrisk , Filipe Brandenburger , David Wilcox , hansecke@gmail.com, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 3, 2017 at 12:30 PM, Eric W. Biederman 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