commit:     28db68741312acc0eb9935bd4183084892f7cf1b
Author:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  9 23:18:23 2021 +0000
Commit:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
CommitDate: Tue Aug 10 11:49:24 2021 +0000
URL:        https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=28db6874

Fix GCC_PLUGINS depends

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

 4567_distro-Gentoo-Kconfig.patch | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/4567_distro-Gentoo-Kconfig.patch b/4567_distro-Gentoo-Kconfig.patch
index 429e9d4..864f86a 100644
--- a/4567_distro-Gentoo-Kconfig.patch
+++ b/4567_distro-Gentoo-Kconfig.patch
@@ -6,9 +6,9 @@
  source "Documentation/Kconfig"
 +
 +source "distro/Kconfig"
---- /dev/null  2021-08-03 06:44:27.767516067 -0400
-+++ b/distro/Kconfig   2021-08-03 18:43:33.303563865 -0400
-@@ -0,0 +1,268 @@
+--- /dev/null  2021-08-09 07:18:54.945580285 -0400
++++ b/distro/Kconfig   2021-08-09 19:15:34.418191114 -0400
+@@ -0,0 +1,267 @@
 +menu "Gentoo Linux"
 +
 +config GENTOO_LINUX
@@ -170,7 +170,7 @@
 +      bool "Kernel Self Protection Project"
 +      depends on GENTOO_LINUX
 +      help
-+              Recommended Kernel settings based on the suggestions from the 
Kernel Self Protection Project
++              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_COMMON and search for 
@@ -183,7 +183,7 @@
 +config GENTOO_KERNEL_SELF_PROTECTION_COMMON
 +      bool "Enable Kernel Self Protection Project Recommendations"
 +
-+      depends on GENTOO_LINUX && !ACPI_CUSTOM_METHOD && !COMPAT_BRK && 
!DEVKMEM && !PROC_KCORE && !COMPAT_VDSO && !KEXEC && !HIBERNATION && 
!LEGACY_PTYS && !X86_X32 && !MODIFY_LDT_SYSCALL
++      depends on GENTOO_LINUX && !ACPI_CUSTOM_METHOD && !COMPAT_BRK && 
!DEVKMEM && !PROC_KCORE && !COMPAT_VDSO && !KEXEC && !HIBERNATION && 
!LEGACY_PTYS && !X86_X32 && !MODIFY_LDT_SYSCALL && GCC_PLUGINS
 +
 +      select BUG
 +      select STRICT_KERNEL_RWX
@@ -216,7 +216,6 @@
 +      select FORTIFY_SOURCE
 +      select SECURITY_DMESG_RESTRICT
 +      select PANIC_ON_OOPS
-+      select CONFIG_GCC_PLUGINS
 +      select GCC_PLUGIN_LATENT_ENTROPY
 +      select GCC_PLUGIN_STRUCTLEAK
 +      select GCC_PLUGIN_STRUCTLEAK_BYREF_ALL

Reply via email to