linux-hardened/arch/arc
Vineet Gupta 3abc944802 ARC: [mm] Make stack/heap Non-executable by default
1. For VM_EXEC based delayed dcache/icache flush, reduces the number of
   flushes.

2. Makes this security feature ON by default rather than OFF before.

3. Applications can use mprotect() to selectively override this.

4. ELF binaries have a GNU_STACK segment which can easily override the
   kernel default permissions.
   For nested-functions/trampolines, gcc already auto-enables executable
   stack in elf. Others needing this can use -Wl,-z,execstack option.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
2013-06-22 19:23:20 +05:30
..
boot ARC: [TB10x] Remove redundant abilis,simple-pinctrl mechanism 2013-05-15 10:12:03 +05:30
configs ARC: Add support for nSIM OSCI System C model 2013-05-07 13:44:00 +05:30
include ARC: [mm] Make stack/heap Non-executable by default 2013-06-22 19:23:20 +05:30
kernel ARC: Reduce Code for ECR printing 2013-06-22 13:46:42 +05:30
lib ARC: String library 2013-02-11 20:00:35 +05:30
mm ARC: [mm] Assume pagecache page dirty by default 2013-06-22 19:23:19 +05:30
oprofile ARC: OProfile support 2013-02-15 23:16:00 +05:30
plat-arcfpga ARC: [plat-arcfpga] Fix build breakage when !CONFIG_ARC_SERIAL 2013-06-22 13:46:41 +05:30
plat-tb10x ARC: [TB10x] Remove redundant abilis,simple-pinctrl mechanism 2013-05-15 10:12:03 +05:30
Kbuild ARC: Build system: Makefiles, Kconfig, Linker script 2013-02-11 20:00:25 +05:30
Kconfig ARC: [mm] Make stack/heap Non-executable by default 2013-06-22 19:23:20 +05:30
Kconfig.debug ARC: Build system: Makefiles, Kconfig, Linker script 2013-02-11 20:00:25 +05:30
Makefile ARC: Use kconfig helper IS_ENABLED() to get rid of defines.h 2013-06-22 13:46:42 +05:30