summaryrefslogtreecommitdiffstats
path: root/configs/platform-rpi/kernelconfig
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2019-01-09 17:29:57 +0100
committerRobert Schwebel <r.schwebel@pengutronix.de>2019-01-09 17:29:57 +0100
commit99f3df19706e957bda83e73cdfded2449d181dab (patch)
treec27fd08c7480d69f4f8c01c92bbfd6235bbca8d7 /configs/platform-rpi/kernelconfig
parent7ae936314475bd4f9b6f3bebf1c848596e95ea7a (diff)
downloadDistroKit-99f3df19706e957bda83e73cdfded2449d181dab.tar.gz
DistroKit-99f3df19706e957bda83e73cdfded2449d181dab.tar.xz
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 <r.schwebel@pengutronix.de>
Diffstat (limited to 'configs/platform-rpi/kernelconfig')
-rw-r--r--configs/platform-rpi/kernelconfig2
1 files changed, 1 insertions, 1 deletions
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