Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

efi/libstub: Stop parsing arguments at "--"

Arguments after "--" are arguments for init, not for the kernel.

Cc: <stable@vger.kernel.org>
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Link: https://lore.kernel.org/r/20200725155916.1376773-1-nivedita@alum.mit.edu
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>

authored by

Arvind Sankar and committed by
Ard Biesheuvel
1fd9717d 98086df8

+2
+2
drivers/firmware/efi/libstub/efi-stub-helper.c
··· 201 201 char *param, *val; 202 202 203 203 str = next_arg(str, &param, &val); 204 + if (!val && !strcmp(param, "--")) 205 + break; 204 206 205 207 if (!strcmp(param, "nokaslr")) { 206 208 efi_nokaslr = true;