Gentoo Archives: gentoo-commits

From: Mike Pagano <mpagano@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/linux-patches:master commit in: /
Date: Fri, 11 Jun 2021 13:24:46
Message-Id: 1623417862.7145944779dc9c9747145defb5d7b054f9f2bd39.mpagano@gentoo
1 commit: 7145944779dc9c9747145defb5d7b054f9f2bd39
2 Author: Mike Pagano <mpagano <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 11 13:24:22 2021 +0000
4 Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 11 13:24:22 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=71459447
7
8 Update KSP Patch, minor typo and formatting
9
10 Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org>
11
12 4567_distro-Gentoo-Kconfig.patch | 18 +++++++++---------
13 1 file changed, 9 insertions(+), 9 deletions(-)
14
15 diff --git a/4567_distro-Gentoo-Kconfig.patch b/4567_distro-Gentoo-Kconfig.patch
16 index 635de00..337ba12 100644
17 --- a/4567_distro-Gentoo-Kconfig.patch
18 +++ b/4567_distro-Gentoo-Kconfig.patch
19 @@ -170,16 +170,16 @@
20 + visible if GENTOO_LINUX
21 +
22 +config GENTOO_KERNEL_SELF_PROTECTION
23 -+ bool "Architecture Independent Kernel Self Protection Project Recommendations"
24 ++ bool "Architecture Independant Kernel Self Protection Project Recommendations"
25 +
26 + help
27 -+ Recommended Kernel settings based on the suggestions from the Kernel Self Protection Project
28 -+ See: https://kernsec.org/wiki/index.php/Kernel_Self_Protection_Project/Recommended_Settings
29 -+ Note, there may be additional settings for which the CONFIG_ setting is invisible in menuconfig due
30 -+ to unmet dependencies. Search for GENTOO_KERNEL_SELF_PROTECTION_{X86_64, ARM64, X86_32, ARM} for
31 -+ dependency information on your specific architecture.
32 -+ Note 2: Please see the URL above for numeric settings, e.g. CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
33 -+ for X86_64
34 ++ Recommended Kernel settings based on the suggestions from the Kernel Self Protection Project
35 ++ See: https://kernsec.org/wiki/index.php/Kernel_Self_Protection_Project/Recommended_Settings
36 ++ Note, there may be additional settings for which the CONFIG_ setting is invisible in menuconfig due
37 ++ to unmet dependencies. Search for GENTOO_KERNEL_SELF_PROTECTION_{X86_64, ARM64, X86_32, ARM} for
38 ++ dependency information on your specific architecture.
39 ++ Note 2: Please see the URL above for numeric settings, e.g. CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
40 ++ for X86_64
41 +
42 + depends on GENTOO_LINUX && !ACPI_CUSTOM_METHOD && !COMPAT_BRK && !DEVKMEM && !PROC_KCORE && !COMPAT_VDSO && !KEXEC && !HIBERNATION && !LEGACY_PTYS && !X86_X32 && !MODIFY_LDT_SYSCALL
43 +
44 @@ -233,7 +233,7 @@
45 + select RANDOMIZE_BASE
46 + select RANDOMIZE_MEMORY
47 + select LEGACY_VSYSCALL_NONE
48 -+ select PAGE_TABLE_ISOLATION
49 ++ select PAGE_TABLE_ISOLATION
50 +
51 +
52 +config GENTOO_KERNEL_SELF_PROTECTION_ARM64