From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751935AbdJCUdT (ORCPT ); Tue, 3 Oct 2017 16:33:19 -0400 Received: from out03.mta.xmission.com ([166.70.13.233]:40882 "EHLO out03.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751832AbdJCUdR (ORCPT ); Tue, 3 Oct 2017 16:33:17 -0400 From: ebiederm@xmission.com (Eric W. Biederman) To: Linus Torvalds 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 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> Date: Tue, 03 Oct 2017 15:32:54 -0500 In-Reply-To: (Linus Torvalds's message of "Tue, 3 Oct 2017 13:02:00 -0700") Message-ID: <87lgks7z0p.fsf@xmission.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-SPF: eid=1dzTsI-0002eI-QO;;;mid=<87lgks7z0p.fsf@xmission.com>;;;hst=in02.mta.xmission.com;;;ip=67.3.200.44;;;frm=ebiederm@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX1/ORC+EMFhJ/kI777G2o7CXESKgwhGuQC4= X-SA-Exim-Connect-IP: 67.3.200.44 X-SA-Exim-Mail-From: ebiederm@xmission.com X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 1.5 TR_Symld_Words too many words that have symbols inside * 0.0 TVD_RCVD_IP Message was received from an IP address * 0.0 T_TM2_M_HEADER_IN_MSG BODY: No description available. * -0.0 BAYES_40 BODY: Bayes spam probability is 20 to 40% * [score: 0.2049] * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa06 1397; Body=1 Fuz1=1 Fuz2=1] X-Spam-DCC: XMission; sa06 1397; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: ;Linus Torvalds X-Spam-Relay-Country: X-Spam-Timing: total 5680 ms - load_scoreonly_sql: 0.04 (0.0%), signal_user_changed: 2.6 (0.0%), b_tie_ro: 1.84 (0.0%), parse: 0.84 (0.0%), extract_message_metadata: 14 (0.2%), get_uri_detail_list: 0.90 (0.0%), tests_pri_-1000: 7 (0.1%), tests_pri_-950: 1.18 (0.0%), tests_pri_-900: 1.00 (0.0%), tests_pri_-400: 25 (0.4%), check_bayes: 24 (0.4%), b_tokenize: 5.0 (0.1%), b_tok_get_all: 8 (0.1%), b_comp_prob: 1.81 (0.0%), b_tok_touch_all: 4.5 (0.1%), b_finish: 1.70 (0.0%), tests_pri_0: 1117 (19.7%), check_dkim_signature: 0.51 (0.0%), check_dkim_adsp: 3.0 (0.1%), tests_pri_500: 4508 (79.4%), poll_dns_idle: 4504 (79.3%), rewrite_mail: 0.00 (0.0%) Subject: Re: [RESEND PATCH] prctl: add PR_[GS]ET_PDEATHSIG_PROC X-Spam-Flag: No X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in02.mta.xmission.com) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linus Torvalds writes: > 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. Agreed. That makes a more general solution perferable. Eric