diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2024-10-13 15:50:03 +0200 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2024-11-15 17:40:10 +0100 |
commit | e6384c398459c40e9304fbb478079884a5967bd4 (patch) | |
tree | 858118760190d72066d9c41a9e907e0fee810350 /scripts/bpf_doc.py | |
parent | 21b1a7f7ae2f53c914f584a72a85cb4f71227e28 (diff) |
efi/libstub: Parse builtin command line after bootloader provided one
When CONFIG_CMDLINE_EXTEND is set, the core kernel command line handling
logic appends CONFIG_CMDLINE to the bootloader provided command line.
The EFI stub does the opposite, and parses the builtin one first.
The usual behavior of command line options is that the last one takes
precedence if it appears multiple times, unless there is a meaningful
way to combine them. In either case, parsing the builtin command line
first while the core kernel does it in the opposite order is likely to
produce inconsistent results in such cases.
Therefore, switch the order in the stub to match the core kernel.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions