summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2021-07-26 17:24:01 +0300
committerArd Biesheuvel <ardb@kernel.org>2021-08-03 08:43:07 +0300
commitff80ef5bf5bd59e5eab82d1d846acc613ebbf6c4 (patch)
tree5112b8bff7532ef4f26bdcb4404117387d2c8c47 /scripts/gdb/linux/utils.py
parent3a262423755b83a5f85009ace415d6e7f572dfe8 (diff)
downloadlinux-ff80ef5bf5bd59e5eab82d1d846acc613ebbf6c4.tar.xz
efi/libstub: arm64: Warn when efi_random_alloc() fails
Randomization of the physical load address of the kernel image relies on efi_random_alloc() returning successfully, and currently, we ignore any failures and just carry on, using the ordinary, non-randomized page allocator routine. This means we never find out if a failure occurs, which could harm security, so let's at least warn about this condition. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Tested-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions