summaryrefslogtreecommitdiff
path: root/arch/powerpc/configs/ppc64_defconfig
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2023-04-14 16:23:58 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2023-04-21 09:16:23 +0300
commit40605274cf9b26f921df6d1875e3cf6fcc22dec0 (patch)
tree0aa0da527215e4b530b51f4258394dc1d5cbe525 /arch/powerpc/configs/ppc64_defconfig
parent90ae13b654ee58d5d0d0152d196d0419021273e6 (diff)
downloadlinux-40605274cf9b26f921df6d1875e3cf6fcc22dec0.tar.xz
powerpc/configs/64s: Enable SLAB hardening options
Fedora & CentOS enable these. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20230414132415.821564-15-mpe@ellerman.id.au
Diffstat (limited to 'arch/powerpc/configs/ppc64_defconfig')
-rw-r--r--arch/powerpc/configs/ppc64_defconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/configs/ppc64_defconfig b/arch/powerpc/configs/ppc64_defconfig
index 59b9d8eb1c7b..0aafe64cd1d7 100644
--- a/arch/powerpc/configs/ppc64_defconfig
+++ b/arch/powerpc/configs/ppc64_defconfig
@@ -81,6 +81,10 @@ CONFIG_BINFMT_MISC=m
CONFIG_ZSWAP=y
CONFIG_Z3FOLD=y
CONFIG_ZSMALLOC=y
+# CONFIG_SLAB_MERGE_DEFAULT is not set
+CONFIG_SLAB_FREELIST_RANDOM=y
+CONFIG_SLAB_FREELIST_HARDENED=y
+CONFIG_SHUFFLE_PAGE_ALLOCATOR=y
# CONFIG_COMPAT_BRK is not set
CONFIG_MEMORY_HOTPLUG=y
CONFIG_MEMORY_HOTREMOVE=y