diff options
author | Ard Biesheuvel <[email protected]> | 2023-08-07 18:27:18 +0200 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2023-08-07 21:01:46 +0200 |
commit | bc5ddceff4c14494d83449ad45c985e6cd353fce (patch) | |
tree | 4867cffc891dad0cbf9215160e17abdb6ed650b1 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 83381519352d6b5b3e429bf72aaab907480cb6b6 (diff) |
efi/libstub: Add limit argument to efi_random_alloc()
x86 will need to limit the kernel memory allocation to the lowest 512
MiB of memory, to match the behavior of the existing bare metal KASLR
physical randomization logic. So in preparation for that, add a limit
parameter to efi_random_alloc() and wire it up.
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions