summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a/kernelconfig
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2017-07-21 18:54:54 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2017-07-21 18:54:54 +0200
commitd6cce71664483807a720557afb73aef2396850d1 (patch)
tree59642e6bbe3f8ea9731704dc284c7b62e01a8d09 /configs/platform-v7a/kernelconfig
parent60bc4f16f08b697a7f7b47157df7908b22d673e1 (diff)
downloadDistroKit-d6cce71664483807a720557afb73aef2396850d1.tar.gz
DistroKit-d6cce71664483807a720557afb73aef2396850d1.tar.xz
platform-v7a: kernel: randomize freelist order used on creating new pages
As suggested by "reason", activate the kernel feature to randomize the freelist order used on creating new pages. This results in a reduction of the predictability of addresses against heap overflows. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'configs/platform-v7a/kernelconfig')
-rw-r--r--configs/platform-v7a/kernelconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/platform-v7a/kernelconfig b/configs/platform-v7a/kernelconfig
index 871f199..bece7fe 100644
--- a/configs/platform-v7a/kernelconfig
+++ b/configs/platform-v7a/kernelconfig
@@ -207,7 +207,7 @@ CONFIG_COMPAT_BRK=y
# CONFIG_SLAB is not set
CONFIG_SLUB=y
# CONFIG_SLOB is not set
-# CONFIG_SLAB_FREELIST_RANDOM is not set
+CONFIG_SLAB_FREELIST_RANDOM=y
CONFIG_SLUB_CPU_PARTIAL=y
# CONFIG_SYSTEM_DATA_VERIFICATION is not set
# CONFIG_PROFILING is not set