diff options
| author | Avi Weiss <thnkslprpt@gmail.com> | 2026-10-27 09:37:20 +0200 |
|---|---|---|
| committer | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2026-10-31 22:26:20 +0900 |
| commit | 278b2abf660a3e0991eb9f16f11bd9e9514a286d (patch) | |
| tree | 02f30837a1d678aab1a07296df6551ba4d144a60 /scripts/basic | |
| parent | c03c1a14507dfaf8b856c2608f9ac216021fc222 (diff) | |
| download | linux-278b2abf660a3e0991eb9f16f11bd9e9514a286d.tar.gz linux-278b2abf660a3e0991eb9f16f11bd9e9514a286d.zip | |
init/bootconfig: pass init arguments in documented order
start_kernel() appends command-line init arguments before
bootconfig init arguments, while setup_command_line()
places them in the opposite order. As a result, the
arguments passed to init do not match the saved command
line, reversing the intended precedence of options.
Parse extra_init_args before after_dashes so command-line
init arguments are passed last.
Link: https://lore.kernel.org/all/20261027073719.4010659-2-thnkslprpt@gmail.com/
Fixes: b66fbbe8d482 ("init/bootconfig: Reorder init parameter from bootconfig and cmdline")
Signed-off-by: Avi Weiss <thnkslprpt@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
