diff options
| author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-02-28 17:10:23 +0000 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2017-02-28 13:37:23 -0500 |
| commit | 97022acd36497727c6a408d2d1dc9da4a94e2e7a (patch) | |
| tree | d6ee3916ad6aa103ef76971cce5a292e86754742 /Cryptlib/OpenSSL/crypto/rsa/rsa_asn1.c | |
| parent | 83c62ff5828aa483dc498f98c4df818a39f6ba87 (diff) | |
| download | efi-boot-shim-97022acd36497727c6a408d2d1dc9da4a94e2e7a.tar.gz efi-boot-shim-97022acd36497727c6a408d2d1dc9da4a94e2e7a.zip | |
Use EfiLoaderCode memory for loading PE/COFF executables
Under a strict memory protection policy, UEFI may give out EfiLoaderData
memory with the XN attribute set. So use EfiLoaderCode explicitly.
At the same time, use a page based allocation rather than a pool
allocation, which is more appropriate when loading PE/COFF images.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'Cryptlib/OpenSSL/crypto/rsa/rsa_asn1.c')
0 files changed, 0 insertions, 0 deletions
