[OS-BUILD PATCH] redhat/configs: Strong stack protector for fedora
by Miko Larsson (via Email Bridge)
From: Miko Larsson <mikoxyzzz(a)gmail.com>
redhat/configs: Strong stack protector for fedora
ark has had the strong stack protector enabled since at least three
years ago without any issues. Might as well enable it for fedora too for
the improved stack protection by moving CONFIG_STACKPROTECTOR_STRONG
(and CONFIG_STACKPROTECTOR for good measure) into the common config dir.
Signed-off-by: Miko Larsson <mikoxyzzz(a)gmail.com>
diff --git a/redhat/configs/ark/generic/CONFIG_STACKPROTECTOR b/redhat/configs/common/generic/CONFIG_STACKPROTECTOR
rename from redhat/configs/ark/generic/CONFIG_STACKPROTECTOR
rename to redhat/configs/common/generic/CONFIG_STACKPROTECTOR
index blahblah..blahblah 100644
--- a/redhat/configs/ark/generic/CONFIG_STACKPROTECTOR
+++ b/redhat/configs/common/generic/CONFIG_STACKPROTECTOR
diff --git a/redhat/configs/ark/generic/CONFIG_STACKPROTECTOR_STRONG b/redhat/configs/common/generic/CONFIG_STACKPROTECTOR_STRONG
rename from redhat/configs/ark/generic/CONFIG_STACKPROTECTOR_STRONG
rename to redhat/configs/common/generic/CONFIG_STACKPROTECTOR_STRONG
index blahblah..blahblah 100644
--- a/redhat/configs/ark/generic/CONFIG_STACKPROTECTOR_STRONG
+++ b/redhat/configs/common/generic/CONFIG_STACKPROTECTOR_STRONG
diff --git a/redhat/configs/fedora/generic/CONFIG_STACKPROTECTOR_STRONG b/redhat/configs/fedora/generic/CONFIG_STACKPROTECTOR_STRONG
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/fedora/generic/CONFIG_STACKPROTECTOR_STRONG
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_STACKPROTECTOR_STRONG is not set
diff --git a/redhat/configs/fedora/generic/powerpc/CONFIG_STACKPROTECTOR b/redhat/configs/fedora/generic/powerpc/CONFIG_STACKPROTECTOR
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/fedora/generic/powerpc/CONFIG_STACKPROTECTOR
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_STACKPROTECTOR=y
diff --git a/redhat/configs/fedora/generic/x86/CONFIG_STACKPROTECTOR b/redhat/configs/fedora/generic/x86/CONFIG_STACKPROTECTOR
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/fedora/generic/x86/CONFIG_STACKPROTECTOR
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_STACKPROTECTOR=y
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2269