diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2023-04-14 15:23:58 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-04-21 08:16:23 +0200 |
commit | 40605274cf9b26f921df6d1875e3cf6fcc22dec0 (patch) | |
tree | 0aa0da527215e4b530b51f4258394dc1d5cbe525 /arch/powerpc | |
parent | powerpc/configs/64s: Enable ZSWAP & ZRAM (diff) | |
download | linux-40605274cf9b26f921df6d1875e3cf6fcc22dec0.tar.xz linux-40605274cf9b26f921df6d1875e3cf6fcc22dec0.zip |
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')
-rw-r--r-- | arch/powerpc/configs/ppc64_defconfig | 4 |
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 |