diff options
| author | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2026-09-04 00:23:15 +0900 |
|---|---|---|
| committer | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2026-10-11 09:07:10 +0900 |
| commit | 958c01049e0a81a02370c9fce50670cda8478b1b (patch) | |
| tree | 2c3577ccfbd8d3a292df5deb958987c532e65d38 /include/linux/debugobjects.h | |
| parent | 6dc993d4520fdaa083c8871e5fee443117d87057 (diff) | |
bootconfig: Skip printing early params to cmdline from bootconfig
If user configures `kernel.key` in bootconfig, the 'key' is shown
in kernel cmdline (/proc/cmdline) and kernel boot parameter
handler associated with 'key' is invoked. However, since the
bootconfig does not support the parameter defined with early_param,
those keys are shown in '/proc/cmdline' but not handled by kernel.
This could easily mislead users who expected to be able to specify
early parameters via the boot configuration, leading them to wonder
why it doesn't work.
Let's skip printing out early params to cmdline buffer, and warn
if there is such parameters in bootconfig.
Link: https://lore.kernel.org/all/178844899530.263905.7707547252181797215.stgit@devnote2/
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
