summarylogtreecommitdiffstats
path: root/config.x86_64
diff options
context:
space:
mode:
authoryar2014-08-04 11:39:45 -0700
committeryar2015-07-03 16:59:10 -0700
commitbd4d30f7aa911a7246825c803966aff1389debda (patch)
tree6059a06956b33e0984e0fed73ce32b9a5c139b30 /config.x86_64
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.x86_64')
-rw-r--r--config.x86_645
1 files changed, 4 insertions, 1 deletions
diff --git a/config.x86_64 b/config.x86_64
index 913518d714e..7b049c33dc5 100644
--- a/config.x86_64
+++ b/config.x86_64
@@ -440,7 +440,10 @@ CONFIG_SCHED_HRTICK=y
CONFIG_KEXEC=y
# CONFIG_CRASH_DUMP is not set
CONFIG_PHYSICAL_START=0x1000000
-# CONFIG_RELOCATABLE is not set
+CONFIG_RELOCATABLE=y
+CONFIG_RANDOMIZE_BASE=y
+CONFIG_RANDOMIZE_BASE_MAX_OFFSET=0x40000000
+CONFIG_X86_NEED_RELOCS=y
CONFIG_PHYSICAL_ALIGN=0x1000000
CONFIG_HOTPLUG_CPU=y
# CONFIG_BOOTPARAM_HOTPLUG_CPU0 is not set