From 99f3df19706e957bda83e73cdfded2449d181dab Mon Sep 17 00:00:00 2001 From: Robert Schwebel Date: Wed, 9 Jan 2019 17:29:57 +0100 Subject: platform-rpi: kernel: enable SLAB_FREELIST_RANDOM "reason" says: Randomizes the freelist order used on creating new pages. This security feature reduces the predictability of the kernel slab allocator against heap overflows. Signed-off-by: Robert Schwebel --- configs/platform-rpi/kernelconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs/platform-rpi/kernelconfig') diff --git a/configs/platform-rpi/kernelconfig b/configs/platform-rpi/kernelconfig index 99fdfe6..a42343e 100644 --- a/configs/platform-rpi/kernelconfig +++ b/configs/platform-rpi/kernelconfig @@ -185,7 +185,7 @@ CONFIG_SLUB_DEBUG=y CONFIG_SLUB=y # CONFIG_SLOB is not set CONFIG_SLAB_MERGE_DEFAULT=y -# CONFIG_SLAB_FREELIST_RANDOM is not set +CONFIG_SLAB_FREELIST_RANDOM=y CONFIG_SLAB_FREELIST_HARDENED=y CONFIG_SYSTEM_DATA_VERIFICATION=y CONFIG_PROFILING=y -- cgit v1.2.3