Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp6218083rwj; Wed, 21 Dec 2022 12:21:20 -0800 (PST) X-Google-Smtp-Source: AMrXdXsbUvWfH7tIhCjlYOrSl5Y0hXaCTxuAPRnJhSPK8qIi6zOkRjXBMYh/wF3OfZh0QLptfM+d X-Received: by 2002:a17:907:80ca:b0:7c1:540c:e214 with SMTP id io10-20020a17090780ca00b007c1540ce214mr2499343ejc.47.1671654080182; Wed, 21 Dec 2022 12:21:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671654080; cv=none; d=google.com; s=arc-20160816; b=z1QcJ95C4TyvFLMfAArtZVsskH/6LSxTXmxYwaQrdziwX7LS9fKOHiSn6kk5Cj4+eE R45YSWhj4jCgC1FyHiQ3ndIq1S+eyzM90xI6VtDqyc4NPs5Dix5mmvmKHIc2096rWhaz Pc0HRJEjCboTXAessw/eOYEjSdTfsSQvoB+loSn3tDkWLfZWGWz7iGg7nnyPi9ChdyQn zHv/gApsGM8uq1qF/QaohYDizoPzvFciFfZGYtx9DSWd5EDFwHGoSVFQ4vmnfZGzWNTM Jo0/Z2rUKqHo5hogMbKs6T1CBVx4d+7FNsOPxAsH/Maz3xYHkNnALi1m4R8IDzASduiy 5KjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=hyP2gapLpMvRMdSaH3XFIkiRT4Rh0HHb4eCG07O3Hp4=; b=mUWKy+EFLuVSOxprg0KmscpTctbfmx0hmmh53c2Q6pivIIRvheooevHlfZ++3mRbV7 VOnEMGRskeMkVlTPJu9EfjfF7Fou7wjPBv7+jkaabdLs9N4JdvXq/mVET4nRvrxunzGL wcJLuY0ppsOYd6Z8+Hb4sbL2D29qkqO4PNU2rjhEQWvrE+cuywhZRGB99CiVyTLFA71y yC3sGf5YlcGPBxozdGOgnQoMXaVnsvjkyP5TnwYPlbV0u9yME9kmLkQSiiO07TSBfnYp G6+KA3bPsVZNfoqCVttiu97p8VJKWwogMnxe/J970Ij0xtnJSAjE558XOuLrnLyNfItT eIpw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l1-20020a056402230100b0046a711ae23csi13752768eda.515.2022.12.21.12.21.04; Wed, 21 Dec 2022 12:21:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234774AbiLUUJk (ORCPT + 68 others); Wed, 21 Dec 2022 15:09:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229578AbiLUUJh (ORCPT ); Wed, 21 Dec 2022 15:09:37 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F20B23329; Wed, 21 Dec 2022 12:09:37 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BA9EF6190C; Wed, 21 Dec 2022 20:09:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EEF4AC433EF; Wed, 21 Dec 2022 20:09:34 +0000 (UTC) Date: Wed, 21 Dec 2022 15:09:32 -0500 From: Steven Rostedt To: Ricardo Ribalda Cc: "Guilherme G. Piccoli" , Eric Biederman , Jonathan Corbet , Philipp Rudo , Ross Zwisler , Sergey Senozhatsky , kexec@lists.infradead.org, "Joel Fernandes (Google)" , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH v5 0/3] kexec: Add new parameter to limit the access to kexec Message-ID: <20221221150932.02cecdd3@gandalf.local.home> In-Reply-To: <20221114-disable-kexec-reset-v5-0-1bd37caf3c75@chromium.org> References: <20221114-disable-kexec-reset-v5-0-1bd37caf3c75@chromium.org> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 21 Dec 2022 20:45:56 +0100 Ricardo Ribalda wrote: > Add two parameter to specify how many times a kexec kernel can be loaded. > > These parameter allow hardening the system. > > While we are at it, fix a documentation issue and refactor some code. > > To: Jonathan Corbet > To: Eric Biederman > Cc: linux-doc@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Cc: kexec@lists.infradead.org > Cc: Joel Fernandes (Google) > Cc: Sergey Senozhatsky > Cc: Steven Rostedt > Cc: Ross Zwisler > To: Philipp Rudo > To: Guilherme G. Piccoli > Signed-off-by: Ricardo Ribalda Reviewed-by: Steven Rostedt (Google) -- Steve