From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CEC07C4167B for ; Mon, 7 Dec 2020 12:53:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 862A923405 for ; Mon, 7 Dec 2020 12:53:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726244AbgLGMxE (ORCPT ); Mon, 7 Dec 2020 07:53:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726012AbgLGMxD (ORCPT ); Mon, 7 Dec 2020 07:53:03 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B519C0613D2; Mon, 7 Dec 2020 04:52:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=mVvoWV/eGHM+7kZ0vIXpK/8KdpiU0TSbdMoKFhbFRfw=; b=WwZu2K5cKSFDGRkLU+JwLayF4V OrrUcySs8/FY0y/dk1l96lzaG4OLyvC/6/ALtcfbhS8/IcLgRy+wvyyBHRLtKHImb/KP0IZCXXyjf Jdp0a4aO+L5m5Q4y5p48z5jk4OCZi0emboNl20hVjXTUL1R54a8OwxGNgReYj7Cmw2CfxdgR+U8lK /fGUJxodRV1YluflWKA12yfCggwloFYbws+ULHYCz7sNeo9OgYFA1I0C78lunEtlmXWkKzxjg6Zb2 6Qy3Q6qNiM93n6YNuxwTYSgEThsYfPPX4Sgccri3icuWDgmYnXEDKBr/7YQsnm5WihBj+vBMC35DS ASP+uxRw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kmFzX-0004VA-Uf; Mon, 07 Dec 2020 12:51:48 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 91681304B92; Mon, 7 Dec 2020 13:51:45 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 65A36200BB76A; Mon, 7 Dec 2020 13:51:45 +0100 (CET) Date: Mon, 7 Dec 2020 13:51:45 +0100 From: Peter Zijlstra To: Vladimir Kondratiev Cc: Jonathan Corbet , Luis Chamberlain , Kees Cook , Iurii Zaikin , "Paul E. McKenney" , Andrew Morton , Randy Dunlap , Thomas Gleixner , Mauro Carvalho Chehab , Mike Kravetz , "Guilherme G. Piccoli" , Andy Shevchenko , Kars Mulder , Lorenzo Pieralisi , Kishon Vijay Abraham I , Arvind Sankar , Joe Perches , Rafael Aquini , "Eric W. Biederman" , Christian Brauner , Alexei Starovoitov , Davidlohr Bueso , Michel Lespinasse , Jann Horn , chenqiwu , Minchan Kim , Christophe Leroy , Vladimir Kondratiev , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [RFC PATCH] do_exit(): panic() recursion detected Message-ID: <20201207125145.GM3040@hirez.programming.kicks-ass.net> References: <20201207124050.4016994-1-vladimir.kondratiev@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201207124050.4016994-1-vladimir.kondratiev@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 07, 2020 at 02:40:49PM +0200, Vladimir Kondratiev wrote: > From: Vladimir Kondratiev > > Recursive do_exit() is symptom of compromised kernel integrity. > For safety critical systems, it may be better to > panic() in this case to minimize risk. You've not answered the previously posed question on why panic_on_oops isn't more suitable for your type of systems. > Signed-off-by: Vladimir Kondratiev > Change-Id: I42f45900a08c4282c511b05e9e6061360d07db60 This Change-ID crap doesn't belong in kernel patches.