Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10860717imu; Thu, 6 Dec 2018 07:55:37 -0800 (PST) X-Google-Smtp-Source: AFSGD/XvUVc+WXh78bifV59zC2soX548oR689z5FLsdsn22ZAa5cSorkyIhC2h44M90c5O1CU21B X-Received: by 2002:a63:e20a:: with SMTP id q10mr22735842pgh.206.1544111737825; Thu, 06 Dec 2018 07:55:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544111737; cv=none; d=google.com; s=arc-20160816; b=DQRTAeBp9xTfpnV07vBl3UH2wZWHQqCW+6kawf72Yn9CwFHmloAjAA14sxQciGVrWy bmH9Wc3d9F0kzZsRCFLvEBkqTS92rm/Bq3MtKXvj30os1qJcb/YGqNb3LJmsi0Ph5Qxh Ck5TvcvIsVZ5wB7RRemms8powOkRnztaMNu84jYkm4z3tRUIZQGItSdNIx0qGvOGRWo7 1+JTv4/fSxXEeQl4pZCa1QYd6AXHokI4QyUsvXSnlCCYDs7MsGfUBoqC7MPP15qG4aIz EBn0jI3XNqGbIOxAVuB/KjzIY27R5YnVBkFqTXrZwBR4FKP2aX50//n34HurlFr6dt95 /xyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=aZHhP6hoKpoTapqwbPI9xQLrSgXzlauXbpFUIpNpqI0=; b=fX8UuqwGr9AhrU2COVfHNt3cWspXH7kw4cSULKUh/GBi/zTGi6e8BIvQeSpJJGG4Ue PfjuRa1SDkMsc3PzVgvxy3fx++FinoVDtnefqdLLpwXt0ZnLtHAlJnVaua/ngZr9HiiJ S5xFeuuaHcNEGoH8oMLvc8FgHvrZ2Zz3t74POXX5lv4vsGuAi1izF/UgrE/gdO7eoOqW iru9nkbrAwRpPybXUxAIKmgF3EDFpsEQU8MYzfZnaTMChw3MJ9X2HuJYzfxXU8wQmdg/ Cr5SsLIoOMf/oI7KN31jx0w75Ljvr6+5ZLFxNNe/T6892NWXV+51E3iG3sUE9dcRPJ80 C27g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u6si577220pfb.92.2018.12.06.07.55.20; Thu, 06 Dec 2018 07:55:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726276AbeLFPyP (ORCPT + 99 others); Thu, 6 Dec 2018 10:54:15 -0500 Received: from nov-007-i650.relay.mailchannels.net ([46.232.183.204]:62629 "EHLO nov-007-i650.relay.mailchannels.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725871AbeLFPyP (ORCPT ); Thu, 6 Dec 2018 10:54:15 -0500 X-Sender-Id: novatrend|x-authuser|juerg@bitron.ch Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id D58B91B6048B; Thu, 6 Dec 2018 15:54:09 +0000 (UTC) Received: from srv17.tophost.ch (swiss-ingress-2.mailchannels.ch [46.232.183.6]) by relay.mailchannels.net (Postfix) with ESMTPA id 4E23C1B6042C; Thu, 6 Dec 2018 15:54:05 +0000 (UTC) X-Sender-Id: novatrend|x-authuser|juerg@bitron.ch Received: from srv17.tophost.ch (srv17.tophost.ch [193.33.128.141]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.15.2); Thu, 06 Dec 2018 15:54:09 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: novatrend|x-authuser|juerg@bitron.ch X-MailChannels-Auth-Id: novatrend X-Relation-Wide-Eyed: 3b06b8b9099e243c_1544111649530_3564411419 X-MC-Loop-Signature: 1544111649530:2489107428 X-MC-Ingress-Time: 1544111649530 Received: from [80.219.231.201] (port=50240 helo=jzen.bitron.ch) by srv17.tophost.ch with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1gUvyV-00Fpfw-TX; Thu, 06 Dec 2018 16:54:03 +0100 Message-ID: <9264c60225f95cb1ca4d3d529972520be08a95b0.camel@bitron.ch> Subject: Re: [PATCH v2 0/1] Add prctl to kill descendants on exit From: =?ISO-8859-1?Q?J=FCrg?= Billeter To: Andrew Morton , Eric Biederman Cc: Oleg Nesterov , Thomas Gleixner , Kees Cook , Andy Lutomirski , linux-api@vger.kernel.org, linux-kernel@vger.kernel.org Date: Thu, 06 Dec 2018 16:54:03 +0100 In-Reply-To: <20181130080004.23635-1-j@bitron.ch> References: <20181127225408.7553-2-j@bitron.ch> <20181130080004.23635-1-j@bitron.ch> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.2 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-AuthUser: juerg@bitron.ch Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2018-11-30 at 08:00 +0000, Jürg Billeter wrote: > This patch adds a new prctl to kill all descendant processes on exit. > See commit message for details of the prctl. > > This is a replacement of PR_SET_PDEATHSIG_PROC I proposed last year [1]. > In the following discussion, Oleg suggested this approach. > > The motivation for this is to provide a lightweight mechanism to prevent > stray processes. There is also a related Bugzilla entry [2]. Andrew, Eric, does this look good to you as well? Jürg