Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp29577024rwd; Wed, 5 Jul 2023 14:08:26 -0700 (PDT) X-Google-Smtp-Source: APBJJlHtUEiYKTmdF4W9aySjBXAM1eGQTV/PTX9CCm6/Xi4FykZa+u9rhMp9gFietQBgxQvBokE6 X-Received: by 2002:a05:6a21:33a0:b0:114:7637:3459 with SMTP id yy32-20020a056a2133a000b0011476373459mr72883pzb.4.1688591306675; Wed, 05 Jul 2023 14:08:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688591306; cv=none; d=google.com; s=arc-20160816; b=y94s/4qEteOEObpCa64Q2r58c6Xceg7lRTaWJR4kj8SKAhJPrXWCkdAVycKiNl0eJp X7EFJ63m18oLh4JF3QuR87+j40ZxLsBpfU8YX7LJPx2cX1ztjec3useyGbMOOm2eChTr umVxwweqk9L2eWASiGaAF+lnX5kxB33jn0NRu3eD5Jb4QR8sjQPPCQpJntt5wnTPFJYx LfI/Q8oDq74kM6OL7EmS7x+u3ZKDjLOFztAXxQaXhlsSBviwkc/az8ib8awkH6EvrmAL N+Z+TZhtYKp4oTOo/YGoCbZkdpQeudE2VBYcwel7PebduUkU0nJ5xO35Cg2s0ZyOY82B Snkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=hE47g+lHp77WEk8fqDWl2od7b4DxqKxm74Un2FIAGsI=; fh=gLZjbV+wEQUFBmiD3CcqsOKp+MrVkC+pq/7O8rDyfuI=; b=PtwuVK6jQc1d3YjM1/aCCX0IX+8Mpiz3fSlQzyAHv5g5yAUrR0VhtiksZY6p7HbJaV gjqnGdjTysg85ih3tjCZPyghFgcW1xlbrBnj5Om98LwOiwH9AfMMKrx7IFOiJN17bR1H PppfZ8rlF2GzD5MRf4+ozvoP3JCCPAx8vXIrQAFqpzeEOZCFauC+wAjgrty0xRjP8g9b J858jHvYxhCQ51UT+AkV8Z0YjYanctfmIhdS26Skk+n23+pdCiLsbdCY8i6rN7PmuKn3 qaRHv0iggVbbiGCC+niZ/QjdUBWsOis1G21EVtmAWnSNDu8GOYdrAdCjYmkQdbRuJloo TxMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ad6MgZVq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h19-20020a056a001a5300b006823a64b0a6si14442979pfv.350.2023.07.05.14.08.10; Wed, 05 Jul 2023 14:08:26 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ad6MgZVq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233622AbjGEUdk (ORCPT + 99 others); Wed, 5 Jul 2023 16:33:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230383AbjGEUdj (ORCPT ); Wed, 5 Jul 2023 16:33:39 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0890F198D; Wed, 5 Jul 2023 13:33:37 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8EAFA61721; Wed, 5 Jul 2023 20:33:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D8EC8C433C8; Wed, 5 Jul 2023 20:33:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688589215; bh=0KOx7fIYnbHIu2BxvIcZlx+mTxGkXFNuYE0N+HdfH14=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=Ad6MgZVqsNWU5hHhwrnEBL6OU3bT2xThgnUpFYX9BWvDghQbWGN7ztvVwiSz12LMa fY9EsksGT/yLqt8WAsbP5/gR2vdXaIctJeSCwm9ZUnnjDvvJeWgdWzLZFyfnE7ZcKW ZqjZgJ8bYWHDmgKjvbN/+iWw6JN56JEIZTOrXujZV+5XPIjmIdfWbLpvRxoBLTOvwx TaH47nHfM3bh6XAFna8z/k2NdAjBwufi6yEmeri1NaCfc6SOI8PN9JfNQugXaN81EL 0G5gKlaNcOOrXayJKUvtMX1XNT7gKrqdUR5FY8goeYcopSw0v4d33XjrwkF6YvixGZ OFVrwi0hLe0lA== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 79B33CE27E7; Wed, 5 Jul 2023 13:33:35 -0700 (PDT) Date: Wed, 5 Jul 2023 13:33:35 -0700 From: "Paul E. McKenney" To: Masami Hiramatsu Cc: mtk.manpages@gmail.com, corbet@lwn.net, akpm@linux-foundation.org, ndesaulniers@google.com, vbabka@suse.cz, hannes@cmpxchg.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, alx@kernel.org, linux-man@vger.kernel.org Subject: Re: [PATCH] proc.5: Clarify that boot arguments can be embedded in image Message-ID: Reply-To: paulmck@kernel.org References: <433d742b-743b-4335-878f-1ca0f45698f7@paulmck-laptop> <20230704215932.c9cab0af086528e52ca0bfbb@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230704215932.c9cab0af086528e52ca0bfbb@kernel.org> 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,T_SCC_BODY_TEXT_LINE 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 Tue, Jul 04, 2023 at 09:59:32PM +0900, Masami Hiramatsu wrote: > On Fri, 30 Jun 2023 16:33:28 -0700 > "Paul E. McKenney" wrote: > > > With the advent of the CONFIG_BOOT_CONFIG Kconfig option, kernel boot > > arguments can now be embedded in the kernel image, either attached > > to the end of initramfs or embedded in the kernel itself. Document > > this possibility in the /proc/cmdline entry of proc.5. > > Thanks for update! > > Reviewed-by: Masami Hiramatsu (Google) Thank you, Masami! Adding Alejandro and linux-man on CC. Thanx, Paul > > Signed-off-by: Paul E. McKenney > > Cc: Michael Kerrisk > > Cc: Masami Hiramatsu > > Cc: Jonathan Corbet > > Cc: Andrew Morton > > Cc: Nick Desaulniers > > Cc: Vlastimil Babka > > Cc: Johannes Weiner > > > > diff --git a/man5/proc.5 b/man5/proc.5 > > index c6684620e..141a2983c 100644 > > --- a/man5/proc.5 > > +++ b/man5/proc.5 > > @@ -3100,6 +3100,9 @@ Often done via a boot manager such as > > .BR lilo (8) > > or > > .BR grub (8). > > +Any arguments embedded in the kernel image or initramfs via > > +.B CONFIG_BOOT_CONFIG > > +will also be displayed. > > .TP > > .IR /proc/config.gz " (since Linux 2.6)" > > This file exposes the configuration options that were used > > > -- > Masami Hiramatsu (Google)