audk/ArmPkg/Library/UncachedMemoryAllocationLib
Ard Biesheuvel e7b24ec978 ArmPkg/UncachedMemoryAllocationLib: map uncached allocations non-executable
The primary use case for UncachedMemoryAllocationLib is non-coherent DMA,
which implies that such regions are not used to fetch instructions from.

So let's map them as non-executable, to avoid creating a security hole
when the rest of the platform may be enforcing strict memory permissions
on ordinary allocations.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2017-03-08 09:50:18 +01:00
..
UncachedMemoryAllocationLib.c ArmPkg/UncachedMemoryAllocationLib: map uncached allocations non-executable 2017-03-08 09:50:18 +01:00
UncachedMemoryAllocationLib.inf ArmPkg: Invalidate cache after allocating UC memory 2015-11-23 07:48:33 +00:00