diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2023-01-30 13:11:53 +0100 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2023-02-03 16:39:22 +0100 |
commit | ace013a543067ed33cf593144b18c6dbeb517cee (patch) | |
tree | e8ac02270bc42999f408249ffe7f748f730473ff /arch | |
parent | 79729f26b074a5d2722c27fa76cc45ef721e65cd (diff) |
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: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions