From: Josh Poimboeuf <jpoimboe(a)redhat.com>
redhat/configs: Enable CONFIG_SLAB_FREELIST_HARDENED for ARK
CONFIG_SLAB_FREELIST_HARDENED adds hardening to the slab allocator.
In our internal testing, it had no measurable performance impact.
It's already enabled for Fedora; enable it for ARK as well.
Bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=1856174
Signed-off-by: Josh Poimboeuf <jpoimboe(a)redhat.com>
diff a/redhat/configs/ark/generic/CONFIG_SLAB_FREELIST_HARDENED
b/redhat/configs/ark/generic/CONFIG_SLAB_FREELIST_HARDENED
--- a/redhat/configs/ark/generic/CONFIG_SLAB_FREELIST_HARDENED
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_SLAB_FREELIST_HARDENED is not set
diff a/redhat/configs/fedora/generic/CONFIG_SLAB_FREELIST_HARDENED
b/redhat/configs/common/generic/CONFIG_SLAB_FREELIST_HARDENED
--- a/redhat/configs/fedora/generic/CONFIG_SLAB_FREELIST_HARDENED
+++ b/redhat/configs/common/generic/CONFIG_SLAB_FREELIST_HARDENED
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/961