commit:     7d2f5cd45d7ee4d8067e089f463f822329ff3741
Author:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 10 13:13:28 2021 +0000
Commit:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
CommitDate: Thu Jun 10 13:13:28 2021 +0000
URL:        https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=7d2f5cd4

Updated corrected Kernel Self Protection config patch

Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org>

 4567_distro-Gentoo-Kconfig.patch | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/4567_distro-Gentoo-Kconfig.patch b/4567_distro-Gentoo-Kconfig.patch
index 635de00..4eee26b 100644
--- a/4567_distro-Gentoo-Kconfig.patch
+++ b/4567_distro-Gentoo-Kconfig.patch
@@ -170,16 +170,16 @@
 +      visible if GENTOO_LINUX
 +
 +config GENTOO_KERNEL_SELF_PROTECTION
-+      bool "Architecture Independent Kernel Self Protection Project 
Recommendations"
++      bool "Architecture Independant Kernel Self Protection Project 
Recommendations"
 +
 +      help
-+              Recommended Kernel settings based on the suggestions from the 
Kernel Self Protection Project
-+              See: 
https://kernsec.org/wiki/index.php/Kernel_Self_Protection_Project/Recommended_Settings
-+              Note, there may be additional settings for which the CONFIG_ 
setting is invisible in menuconfig due
-+              to unmet dependencies. Search for 
GENTOO_KERNEL_SELF_PROTECTION_{X86_64, ARM64, X86_32, ARM} for
-+              dependency information on your specific architecture.
-+              Note 2: Please see the URL above for numeric settings, e.g. 
CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
-+              for X86_64
++  Recommended Kernel settings based on the suggestions from the Kernel Self 
Protection Project
++      See: 
https://kernsec.org/wiki/index.php/Kernel_Self_Protection_Project/Recommended_Settings
++      Note, there may be additional settings for which the CONFIG_ setting is 
invisible in menuconfig due 
++      to unmet dependencies. Search for 
GENTOO_KERNEL_SELF_PROTECTION_{X86_64, ARM64, X86_32, ARM} for 
++      dependency information on your specific architecture.
++      Note 2: Please see the URL above for numeric settings, e.g. 
CONFIG_DEFAULT_MMAP_MIN_ADDR=65536 
++      for X86_64
 +
 +      depends on GENTOO_LINUX && !ACPI_CUSTOM_METHOD && !COMPAT_BRK && 
!DEVKMEM && !PROC_KCORE && !COMPAT_VDSO && !KEXEC && !HIBERNATION && 
!LEGACY_PTYS && !X86_X32 && !MODIFY_LDT_SYSCALL
 +
@@ -214,7 +214,7 @@
 +      select FORTIFY_SOURCE
 +      select SECURITY_DMESG_RESTRICT
 +      select PANIC_ON_OOPS
-+      select CONFIG_GCC_PLUGINS
++      select CONFIG_GCC_PLUGINS=y
 +      select GCC_PLUGIN_LATENT_ENTROPY
 +      select GCC_PLUGIN_STRUCTLEAK
 +      select GCC_PLUGIN_STRUCTLEAK_BYREF_ALL
@@ -233,7 +233,7 @@
 +      select RANDOMIZE_BASE
 +      select RANDOMIZE_MEMORY
 +      select LEGACY_VSYSCALL_NONE
-+      select PAGE_TABLE_ISOLATION
++ select PAGE_TABLE_ISOLATION
 +
 +
 +config GENTOO_KERNEL_SELF_PROTECTION_ARM64

Reply via email to