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/x86/platform/efi | |
parent | efi/libstub: Add memory attribute protocol definitions (diff) | |
download | linux-ace013a543067ed33cf593144b18c6dbeb517cee.tar.xz linux-ace013a543067ed33cf593144b18c6dbeb517cee.zip |
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/x86/platform/efi')
0 files changed, 0 insertions, 0 deletions