From d6cce71664483807a720557afb73aef2396850d1 Mon Sep 17 00:00:00 2001 From: Robert Schwebel Date: Fri, 21 Jul 2017 18:54:54 +0200 Subject: 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 --- configs/platform-v7a/kernelconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs/platform-v7a/kernelconfig') 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 -- cgit v1.2.3