summaryrefslogtreecommitdiffstats
path: root/arch/arc/Kconfig
diff options
context:
space:
mode:
authorVineet Gupta2013-06-05 14:19:14 +0200
committerVineet Gupta2013-06-22 15:53:20 +0200
commit3abc94480225677ea08af817d56edfb0df9e9b80 (patch)
tree364c3c03f33d3934f53621669aba62023d5a5633 /arch/arc/Kconfig
parentARC: [mm] Assume pagecache page dirty by default (diff)
downloadkernel-qcow2-linux-3abc94480225677ea08af817d56edfb0df9e9b80.tar.gz
kernel-qcow2-linux-3abc94480225677ea08af817d56edfb0df9e9b80.tar.xz
kernel-qcow2-linux-3abc94480225677ea08af817d56edfb0df9e9b80.zip
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>
Diffstat (limited to 'arch/arc/Kconfig')
-rw-r--r--arch/arc/Kconfig7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
index 50862ac8ef35..4a0e54fc01b2 100644
--- a/arch/arc/Kconfig
+++ b/arch/arc/Kconfig
@@ -362,13 +362,6 @@ config ARC_MISALIGN_ACCESS
Use ONLY-IF-ABS-NECESSARY as it will be very slow and also can hide
potential bugs in code
-config ARC_STACK_NONEXEC
- bool "Make stack non-executable"
- default n
- help
- To disable the execute permissions of stack/heap of processes
- which are enabled by default.
-
config HZ
int "Timer Frequency"
default 100