aboutsummarylogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authoryar2014-08-04 11:39:45 -0700
committeryar2015-07-03 16:59:10 -0700
commitbd4d30f7aa911a7246825c803966aff1389debda (patch)
tree6059a06956b33e0984e0fed73ce32b9a5c139b30 /config
parent20acf20b90d07c4570d1450f06eadb6b964e9c32 (diff)
downloadaur-bd4d30f7aa911a7246825c803966aff1389debda.tar.gz
relocatable and randomizable
it seems that RELOCATABLE has been off since the very beginning, not sure why to randomize, it would still need kaslr passed on the kernel line (will test) randomize also needs dmesg_restrict & kptr_restrict, and even with that won't be safe for a long time... https://bugs.archlinux.org/task/41463
Diffstat (limited to 'config')
-rw-r--r--config5
1 files changed, 4 insertions, 1 deletions
diff --git a/config b/config
index fb8f0dbbab10..548dfbe46d0a 100644
--- a/config
+++ b/config
@@ -453,7 +453,10 @@ CONFIG_SCHED_HRTICK=y
CONFIG_KEXEC=y
# CONFIG_CRASH_DUMP is not set
CONFIG_PHYSICAL_START=0x100000
-# CONFIG_RELOCATABLE is not set
+CONFIG_RELOCATABLE=y
+CONFIG_RANDOMIZE_BASE=y
+CONFIG_RANDOMIZE_BASE_MAX_OFFSET=0x20000000
+CONFIG_X86_NEED_RELOCS=y
CONFIG_PHYSICAL_ALIGN=0x100000
CONFIG_HOTPLUG_CPU=y
# CONFIG_BOOTPARAM_HOTPLUG_CPU0 is not set