Skip to content

Commit 4060527

Browse files
committed
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
1 parent 90ae13b commit 4060527

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

arch/powerpc/configs/ppc64_defconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ CONFIG_BINFMT_MISC=m
8181
CONFIG_ZSWAP=y
8282
CONFIG_Z3FOLD=y
8383
CONFIG_ZSMALLOC=y
84+
# CONFIG_SLAB_MERGE_DEFAULT is not set
85+
CONFIG_SLAB_FREELIST_RANDOM=y
86+
CONFIG_SLAB_FREELIST_HARDENED=y
87+
CONFIG_SHUFFLE_PAGE_ALLOCATOR=y
8488
# CONFIG_COMPAT_BRK is not set
8589
CONFIG_MEMORY_HOTPLUG=y
8690
CONFIG_MEMORY_HOTREMOVE=y

0 commit comments

Comments
 (0)