]> git.baikalelectronics.ru Git - kernel.git/commit
x86/kaslr: Fix process_efi_entries comment
authorArvind Sankar <nivedita@alum.mit.edu>
Mon, 27 Jul 2020 23:07:56 +0000 (19:07 -0400)
committerIngo Molnar <mingo@kernel.org>
Fri, 31 Jul 2020 09:08:12 +0000 (11:08 +0200)
commit9f52135517343d9bf0fe7c25809aa420b32801bb
tree06728ceab32544b803925c9e060ecf19b737d8b1
parente4c552d513f859b3668ff292223ce96573443b28
x86/kaslr: Fix process_efi_entries comment

Since commit:

  d9f15b2308cb ("x86/boot/KASLR: Work around firmware bugs by excluding EFI_BOOT_SERVICES_* and EFI_LOADER_* from KASLR's choice")

process_efi_entries() will return true if we have an EFI memmap, not just
if it contained EFI_MEMORY_MORE_RELIABLE regions.

Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20200727230801.3468620-4-nivedita@alum.mit.edu
arch/x86/boot/compressed/kaslr.c