From 8254da97e4030b4e7d91b25f50cdfbb45ec86341 Mon Sep 17 00:00:00 2001 From: Nils Freydank Date: Sat, 7 Dec 2024 23:03:06 +0100 Subject: [PATCH] pygoscelis: Enable CONFIG_RANDSTRUCT_PERFORMANCE again This was already enabled in 2022 (7b2b827d34bce12ea8aec1e370c32654eb46fd70) but disabled when bpf support was enabled for use within systemd 243 (01b1f8af0442d0938bf1e7337f62ba6571b2fb1e). Looks as we can enable both now in 6.12, so let's do that. --- pygoscelis-config | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pygoscelis-config b/pygoscelis-config index 080023e..4343053 100644 --- a/pygoscelis-config +++ b/pygoscelis-config @@ -6447,9 +6447,11 @@ CONFIG_LIST_HARDENED=y CONFIG_BUG_ON_DATA_CORRUPTION=y # end of Hardening of kernel data structures -CONFIG_RANDSTRUCT_NONE=y +# CONFIG_RANDSTRUCT_NONE is not set # CONFIG_RANDSTRUCT_FULL is not set -# CONFIG_RANDSTRUCT_PERFORMANCE is not set +CONFIG_RANDSTRUCT_PERFORMANCE=y +CONFIG_RANDSTRUCT=y +CONFIG_GCC_PLUGIN_RANDSTRUCT=y # end of Kernel hardening options # end of Security options @@ -7238,5 +7240,6 @@ CONFIG_GENTOO_LINUX_INIT_SYSTEMD=y # end of Support for init systems, system and service managers CONFIG_GENTOO_KERNEL_SELF_PROTECTION=y +# CONFIG_GENTOO_KERNEL_SELF_PROTECTION_COMMON is not set CONFIG_GENTOO_PRINT_FIRMWARE_INFO=y # end of Gentoo Linux