public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] proc.5: Clarify that boot arguments can be embedded in image
@ 2023-06-30 23:33 Paul E. McKenney
  2023-07-04 12:59 ` Masami Hiramatsu
  0 siblings, 1 reply; 5+ messages in thread
From: Paul E. McKenney @ 2023-06-30 23:33 UTC (permalink / raw)
  To: mtk.manpages
  Cc: mhiramat, corbet, akpm, ndesaulniers, vbabka, hannes, linux-doc,
	linux-kernel

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.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Michael Kerrisk <mtk.manpages@gmail.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>

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

^ permalink raw reply related	[flat|nested] 5+ messages in thread
* Re: [PATCH] proc.5: Clarify that boot arguments can be embedded in image
@ 2023-07-04  6:25 S. Isaeiela C. Escobar D. Anktnktr
  0 siblings, 0 replies; 5+ messages in thread
From: S. Isaeiela C. Escobar D. Anktnktr @ 2023-07-04  6:25 UTC (permalink / raw)
  To: paulmck
  Cc: akpm, corbet, hannes, linux-doc, linux-kernel, mhiramat,
	mtk.manpages, ndesaulniers, vbabka



Sent from my iPhone

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-07-08 17:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-30 23:33 [PATCH] proc.5: Clarify that boot arguments can be embedded in image Paul E. McKenney
2023-07-04 12:59 ` Masami Hiramatsu
2023-07-05 20:33   ` Paul E. McKenney
2023-07-08 17:19     ` Alejandro Colomar
  -- strict thread matches above, loose matches on Subject: below --
2023-07-04  6:25 S. Isaeiela C. Escobar D. Anktnktr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox