Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5977646imu; Wed, 30 Jan 2019 06:49:34 -0800 (PST) X-Google-Smtp-Source: ALg8bN75RxxWXj1L2Z+fSOsxFEqU+IHd4dVgUmAUg3OoEALyQj2R0DequxGXP/vwlqdQm4qhLPVL X-Received: by 2002:a63:e051:: with SMTP id n17mr27919738pgj.258.1548859773967; Wed, 30 Jan 2019 06:49:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548859773; cv=none; d=google.com; s=arc-20160816; b=QDbTz7c4K3dLfXXBjPXN4Js7EhopSfljCOKWdQz1FZi/++38E4HAK0T0NWI8NsMFmD AdQZehLXJCBC3jazcuTz0svsiUQGyMLiVD6tpEUupYi31W+mngdiPNd8074FGKEROsU0 PemHGiLAAWLvKGchTWAJCzjZlSUl18Lz6E5m4SxtMXXEk3PfdZK4XDeXlvyPDKPJQDnW 3Bb/71W3dfRxpCM7Cid3ntLfvqguCm246SqG0o0Rmuy4DEMRE+QvunnDCDuk6pEW+5E8 RrPrEgoctKoOfynEWs+o0O3OolCPMceNDbUjMPw2EY/AniqeslUsq79bZWM/MZHtpcKx LSXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=nS7YK53huqXIYaX82MPf/TjXei9FESVDex7jIbY/k30=; b=tDm1ee2+xYDw9aTziVEuq35+zvnh9NrkkMIX+mqICUnABxevsXjOPRuawX6eWTm4FK igzyWNuWAWs3Hb/tvfh7t08TqdMZyKTvt4kvQQIsmW235G1OdnmKoLjov8HTkGJ88AOg LcvPxKAR/kyoBQ7gyH0YYEXmPYquGU6WwlGu6QsYpV1IwOibWuzVm4GkfzfiDaknehcL nFBwbi3a0E0TdwXKir0YOvJhzLRf0IIeXm+4xow2iNdoUArxuwVJAysXshAWumHQTIkc DnelHWiBcw15la5YUdlWCk5WACzrMdDVplvqXE3uRxgKpWlsARkayFKw8Ckb9wW+CjqW xXrg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 63si1695884pla.65.2019.01.30.06.49.17; Wed, 30 Jan 2019 06:49:33 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730802AbfA3Os6 (ORCPT + 99 others); Wed, 30 Jan 2019 09:48:58 -0500 Received: from mail-yb1-f195.google.com ([209.85.219.195]:37537 "EHLO mail-yb1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726915AbfA3Os5 (ORCPT ); Wed, 30 Jan 2019 09:48:57 -0500 Received: by mail-yb1-f195.google.com with SMTP id 2so9694337ybw.4 for ; Wed, 30 Jan 2019 06:48:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=nS7YK53huqXIYaX82MPf/TjXei9FESVDex7jIbY/k30=; b=aJBUnWRpcy47gaRKHHggKkwPcKVtQkyd690qLqQYHPwGg5oqQlo2ESIfMz7WCJtX8O f5e3QyrAMEb3QQLER7wZuJMTW06kyVQum0gvYlBy17BMt+Kj1Vj5msp4+Tw1bovgs6yz Z2GjClt+pezfAD8vxpQz29v+Wx0OCSoKbs6j8FecUT1TBs86A7f8ztrgIU8FFzaDASSW pqEJCzXCv1U6UsimjkEtXh57GLtgfcim8UXeewLiXDftUsxWc7SSKL2LLwzarO0YfKPR hPngnICcqjZMsI0eHL+S9//rrUGXpzk3cNt55mWhOn1gcLBppCnJ3khVeFFbEufxE51j JC5w== X-Gm-Message-State: AHQUAuZlJIZORA17KnnZOfTVCUk+K4nWF+vwnwVr/9MjSuFT3et56AtS 6wETIbPcRwm8GvmmxeJQFOQ= X-Received: by 2002:a25:38d3:: with SMTP id f202mr10776530yba.52.1548859736578; Wed, 30 Jan 2019 06:48:56 -0800 (PST) Received: from garbanzo.do-not-panic.com (c-73-71-40-85.hsd1.ca.comcast.net. [73.71.40.85]) by smtp.gmail.com with ESMTPSA id b11sm652685ywb.0.2019.01.30.06.48.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 Jan 2019 06:48:55 -0800 (PST) Received: by garbanzo.do-not-panic.com (sSMTP sendmail emulation); Wed, 30 Jan 2019 06:48:51 -0800 Date: Wed, 30 Jan 2019 06:48:51 -0800 From: Luis Chamberlain To: Andrew Morton Cc: Vincent Whitchurch , keescook@chromium.org, linux-kernel@vger.kernel.org, Vincent Whitchurch Subject: Re: [PATCH v2] sysctl: Add panic-fatal-signals Message-ID: <20190130144851.GK11489@garbanzo.do-not-panic.com> References: <20190128084959.13060-1-vincent.whitchurch@axis.com> <20190128100545.b62193aa8f49e1de8d6ea8b7@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190128100545.b62193aa8f49e1de8d6ea8b7@linux-foundation.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 28, 2019 at 10:05:45AM -0800, Andrew Morton wrote: > On Mon, 28 Jan 2019 09:49:59 +0100 Vincent Whitchurch wrote: > > --- a/init/Kconfig > > +++ b/init/Kconfig > > @@ -1242,6 +1242,20 @@ config SYSCTL_SYSCALL > > > > If unsure say N here. > > > > +config SYSCTL_PANIC_FATAL_SIGNALS > > + bool "panic-fatal-signals sysctl" if EXPERT > > + depends on PROC_SYSCTL > > + help > > + If you say Y here, a kernel.panic-fatal-signals sysctl will be > > + offered. If this sysctl is turned on, the kernel will panic if any > > + userspace process receives a fatal signal which would trigger a core > > + dump. > > + > > + When used together with kernel core dumps, this can be useful for > > + debugging some system-wide problems, primarily on embedded systems. > > + > > + If unsure, say N. > > I suggest that the Kconfig help and the forthcoming documentation > should clearly explain the dangers of enabling this! And so, should default to n. Luis