+34
−34
+27
−20
+1
−1
arch/arm/kernel/elf.c
0 → 100644
+79
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Add support for detecting non-executable stack binaries, and adjust
permissions to prevent execution from data and stack areas. Also,
ensure that READ_IMPLIES_EXEC is enabled for older CPUs where that
is true, and for any executable-stack binary.
Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>