Searched hist:"6720 dd495966ac82823854aecea59f844e73cf81" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/ldelf/ |
| H A D | ta_elf.c | 6720dd495966ac82823854aecea59f844e73cf81 Thu Jun 13 14:59:03 UTC 2019 Jens Wiklander <jens.wiklander@linaro.org> ldelf: support TA ASLR
Adds support in ldelf to load TAs using address space randomization if CFG_TA_ASLR=y. Works as before with the kernel mode ELF loader with two exceptions: - It falls back to disable ASLR for a particular ELF if it fails to map using ASLR. - Each ELF is loaded with a randomized number of free pages in front. These free pages can be reused when loading other ELF permitting some ELF to become reordered in memory.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
|