The new KSPP kconfig enables CONFIG_RANDOMIZE_BASE without CONFIG_RELOCATABLE: menu "Architecture Specific Self Protection Project Recommendations" config GENTOO_KERNEL_SELF_PROTECTION_X86_64 bool "X86_64 KSPP Settings" depends on !X86_MSR && X86_64 default n select RANDOMIZE_BASE select RANDOMIZE_MEMORY select LEGACY_VSYSCALL_NONE select PAGE_TABLE_ISOLATION If you don't already have CONFIG_RELOCATABLE=y, the next reboot fails.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=52196ef10a6430ef86080784cc52d57ee740a9fc commit 52196ef10a6430ef86080784cc52d57ee740a9fc Author: Mike Pagano <mpagano@gentoo.org> AuthorDate: 2021-08-03 22:49:56 +0000 Commit: Mike Pagano <mpagano@gentoo.org> CommitDate: 2021-08-03 22:49:56 +0000 Add CONFIG_RELOCATABLE when selecting RANDOMIZE_BASE Redo menu's to make more user-friendly Bug: https://bugs.gentoo.org/806300 Signed-off-by: Mike Pagano <mpagano@gentoo.org> 4567_distro-Gentoo-Kconfig.patch | 51 ++++++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 23 deletions(-)
(In reply to Larry the Git Cow from comment #1) > The bug has been referenced in the following commit(s): > This is in master, but I want to have this run though kernel-ci before I move it to the branches.