Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp448007rdb; Thu, 5 Oct 2023 10:23:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF9VMi8Pe4N7lGbbVfxKFgzyopblWZetgIJpP/3yCGgHxXBHI7BpF8gz5RfpOpaSAlKOJoV X-Received: by 2002:a17:90a:540e:b0:279:104e:1779 with SMTP id z14-20020a17090a540e00b00279104e1779mr5812742pjh.16.1696526581059; Thu, 05 Oct 2023 10:23:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696526581; cv=none; d=google.com; s=arc-20160816; b=QBn3xuDXLswJBZa5E3bruuwWW+Gv74gIdQn6lWGa/BMxzVO5CMwTL8FIjhJ07LmrG2 l0mWXUxSEqqmhPkemK4qX3ktMjWY1kq1poGwjWAJH76+5vmFBbGMm2xTBvXhQ6DtDpVL Rm0yf9EZEQyESnrYVdH92+JvDH0+NmX6mLyUNi+WVZlEpnfLMMVY7kayBwl68LvkSF+x po3sBB0HGiUxU1HjmKTDoQq/Zg1eoQMeZ9tRScl1ekN2rZXZW+cZpyBqIjXrmJfwm13O fLjVTBhqP/g89JwibkgoNVR9sGRSAFtmK6tMUnxFkLvlEETMLJt4gNLjMiYJiAW5OFvO 0+gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:reply-to :message-id:subject:cc:to:from:date:dkim-signature; bh=YQdpvl1k/xMRpL3K5mStXpJN4ntxV3oLMd9gZRupoY8=; fh=YnFOQ3mNLNF/vRyAc6K0AGKrP6kFhEd2z8Y9CDOKicM=; b=PXhUgCKaEcBZ6e6n8xQX/zYWDq1+2TixHt5GhvFQxfcDmYo/frBSFr9bEO/EkB+llc vF52pRuqd6HIEEz8Tc9GlIQdX1R2TwfOmZXILaz8UKqbp6vYDXPlE0eg8ec6IxVVNwXm f+b6zw1jBECYLX78hmYC0NRHtR0JF7d7PJ6DxK4ZsAMS0vNbYQD6/K8t4c3krvIGMA4o LOmEbolfSg3usIZ5pEYH07m9bWaX5ZLBqZlRXTNxtfglyL2wlP/eCiaTH5AOyJvZnHTe JLWZKWq+1hWuy86oKCUv27BFIB7RqviBNY98n/N1Aj9M2OuvlD1WBHdmJXXgySCeTcpi j0dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CCKDMscX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id ob4-20020a17090b390400b002774b340c1fsi2113155pjb.69.2023.10.05.10.23.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 10:23:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CCKDMscX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id EA3FF801B8A5; Thu, 5 Oct 2023 10:22:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229659AbjJERW4 (ORCPT + 99 others); Thu, 5 Oct 2023 13:22:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230339AbjJERWY (ORCPT ); Thu, 5 Oct 2023 13:22:24 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3467761AD; Thu, 5 Oct 2023 10:16:46 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C0947C433C7; Thu, 5 Oct 2023 17:16:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696526205; bh=pLHbeWhsfwlJ5/x1swB6Yv/HiN8U84OvZpLA4UH5gL4=; h=Date:From:To:Cc:Subject:Reply-To:From; b=CCKDMscXyGvRBu00YDj4wKqY98iYotFhNfioOSwnrcc4LE37cEg2PaK3Es0U0DWFI o3f0fhOseQRv2DfIpo3euVH3JqQXMd44JBquAQiS3OTgzeF9NKcHOsM1H6D/lTwvzp SCNlVjk7pnIgAyVDop0UmbCe6TO3MUsFxRa/X1X7vLkhHNZW1ECUaYW+599Hgluu9s UMrmOMZmCe4q8jErl6PDGcm3vWSA7WGYo72f6alIxP34i9egLyKlimdeoD6XPK1aFl mUHusFziobWms5dLAlYV8Q3DXpQ9r+OOsgs1nNdbZRk3X8y9yX4Z35RcBcxLwN81yE 9uRxHPxTdmlXQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 529E3CE0869; Thu, 5 Oct 2023 10:16:45 -0700 (PDT) Date: Thu, 5 Oct 2023 10:16:45 -0700 From: "Paul E. McKenney" To: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-doc@vger.kernel.org Cc: Jonathan Corbet , "Masami Hiramatsu (Google)" Subject: [PATCH bootconfig 0/3] Expose boot-loader kernel command-line arguments Message-ID: <6ea609a4-12e3-4266-8816-b9fca1f1f21c@paulmck-laptop> Reply-To: paulmck@kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 05 Oct 2023 10:23:00 -0700 (PDT) Hello! This series contains bootconfig updates that make the kernel command-line arguments that came from the bootloader (excluding those from bootconfig) visible as a comment in the existing /proc/bootconfig file. It also updates documentation. 1. Update /proc/cmdline documentation to include boot config. 2. fs/proc: Add boot loader arguments as comment to /proc/bootconfig. 3. Add /proc/bootconfig to proc.rst. Thanx, Paul ------------------------------------------------------------------------ Documentation/filesystems/proc.rst | 5 +++++ b/Documentation/filesystems/proc.rst | 3 ++- b/fs/proc/bootconfig.c | 6 ++++++ 3 files changed, 13 insertions(+), 1 deletion(-)