Skip to content
Commit ace013a5 authored by Ard Biesheuvel's avatar Ard Biesheuvel
Browse files

efi: zboot: Use EFI protocol to remap code/data with the right attributes



Use the recently introduced EFI_MEMORY_ATTRIBUTES_PROTOCOL in the zboot
implementation to set the right attributes for the code and data
sections of the decompressed image, i.e., EFI_MEMORY_RO for code and
EFI_MEMORY_XP for data.

Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent 79729f26
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment