diff options
author | Mike Pagano <mpagano@gentoo.org> | 2021-06-10 09:13:28 -0400 |
---|---|---|
committer | Mike Pagano <mpagano@gentoo.org> | 2021-06-10 09:13:28 -0400 |
commit | 7d2f5cd45d7ee4d8067e089f463f822329ff3741 (patch) | |
tree | 2d92f16baf5fdaaad1c70becd538a2015314096a | |
parent | Linux patch 5.10.43 (diff) | |
download | linux-patches-7d2f5cd45d7ee4d8067e089f463f822329ff3741.tar.gz linux-patches-7d2f5cd45d7ee4d8067e089f463f822329ff3741.tar.bz2 linux-patches-7d2f5cd45d7ee4d8067e089f463f822329ff3741.zip |
Updated corrected Kernel Self Protection config patch5.10-47
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
-rw-r--r-- | 4567_distro-Gentoo-Kconfig.patch | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/4567_distro-Gentoo-Kconfig.patch b/4567_distro-Gentoo-Kconfig.patch index 635de00b..4eee26b5 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 |