[OS-BUILD PATCHv3] redhat: Enable KASAN on all ELN debug kernels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Nico Pache <npache@xxxxxxxxxx>

redhat: Enable KASAN on all ELN debug kernels

This commit enables KASAN for all the ELN debug kernels (except s390
zfcpdump), and cleans up some of the fedora configs.

KASAN is useful in detecting bugs and was previously enabled on all ELN
kernels (except S390 zfcpdump)

Signed-off-by: Nico Pache <npache@xxxxxxxxxx>

diff --git a/redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN b/redhat/configs/ark/debug/CONFIG_KASAN
rename from redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN
rename to redhat/configs/ark/debug/CONFIG_KASAN
index blahblah..blahblah 100644
--- a/redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN
+++ b/redhat/configs/ark/debug/CONFIG_KASAN
diff --git a/redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN_GENERIC b/redhat/configs/ark/debug/CONFIG_KASAN_GENERIC
rename from redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN_GENERIC
rename to redhat/configs/ark/debug/CONFIG_KASAN_GENERIC
index blahblah..blahblah 100644
--- a/redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN_GENERIC
+++ b/redhat/configs/ark/debug/CONFIG_KASAN_GENERIC
diff --git a/redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN_INLINE b/redhat/configs/ark/debug/CONFIG_KASAN_INLINE
rename from redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN_INLINE
rename to redhat/configs/ark/debug/CONFIG_KASAN_INLINE
index blahblah..blahblah 100644
--- a/redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN_INLINE
+++ b/redhat/configs/ark/debug/CONFIG_KASAN_INLINE
diff --git a/redhat/configs/common/debug/CONFIG_KASAN_KUNIT_TEST b/redhat/configs/ark/debug/CONFIG_KASAN_KUNIT_TEST
rename from redhat/configs/common/debug/CONFIG_KASAN_KUNIT_TEST
rename to redhat/configs/ark/debug/CONFIG_KASAN_KUNIT_TEST
index blahblah..blahblah 100644
--- a/redhat/configs/common/debug/CONFIG_KASAN_KUNIT_TEST
+++ b/redhat/configs/ark/debug/CONFIG_KASAN_KUNIT_TEST
diff --git a/redhat/configs/common/debug/CONFIG_KASAN_OUTLINE b/redhat/configs/ark/debug/CONFIG_KASAN_OUTLINE
rename from redhat/configs/common/debug/CONFIG_KASAN_OUTLINE
rename to redhat/configs/ark/debug/CONFIG_KASAN_OUTLINE
index blahblah..blahblah 100644
--- a/redhat/configs/common/debug/CONFIG_KASAN_OUTLINE
+++ b/redhat/configs/ark/debug/CONFIG_KASAN_OUTLINE
diff --git a/redhat/configs/common/debug/CONFIG_KASAN_VMALLOC b/redhat/configs/ark/debug/CONFIG_KASAN_VMALLOC
rename from redhat/configs/common/debug/CONFIG_KASAN_VMALLOC
rename to redhat/configs/ark/debug/CONFIG_KASAN_VMALLOC
index blahblah..blahblah 100644
--- a/redhat/configs/common/debug/CONFIG_KASAN_VMALLOC
+++ b/redhat/configs/ark/debug/CONFIG_KASAN_VMALLOC
diff --git a/redhat/configs/fedora/debug/CONFIG_KASAN b/redhat/configs/common/debug/s390x/zfcpdump/CONFIG_KASAN
rename from redhat/configs/fedora/debug/CONFIG_KASAN
rename to redhat/configs/common/debug/s390x/zfcpdump/CONFIG_KASAN
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/debug/CONFIG_KASAN
+++ b/redhat/configs/common/debug/s390x/zfcpdump/CONFIG_KASAN
diff --git a/redhat/configs/fedora/debug/CONFIG_KASAN_GENERIC b/redhat/configs/common/debug/s390x/zfcpdump/CONFIG_KASAN_GENERIC
rename from redhat/configs/fedora/debug/CONFIG_KASAN_GENERIC
rename to redhat/configs/common/debug/s390x/zfcpdump/CONFIG_KASAN_GENERIC
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/debug/CONFIG_KASAN_GENERIC
+++ b/redhat/configs/common/debug/s390x/zfcpdump/CONFIG_KASAN_GENERIC
diff --git a/redhat/configs/fedora/debug/CONFIG_KASAN_INLINE b/redhat/configs/common/debug/s390x/zfcpdump/CONFIG_KASAN_INLINE
rename from redhat/configs/fedora/debug/CONFIG_KASAN_INLINE
rename to redhat/configs/common/debug/s390x/zfcpdump/CONFIG_KASAN_INLINE
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/debug/CONFIG_KASAN_INLINE
+++ b/redhat/configs/common/debug/s390x/zfcpdump/CONFIG_KASAN_INLINE
diff --git a/redhat/configs/fedora/debug/CONFIG_KASAN_VMALLOC b/redhat/configs/common/debug/s390x/zfcpdump/CONFIG_KASAN_VMALLOC
rename from redhat/configs/fedora/debug/CONFIG_KASAN_VMALLOC
rename to redhat/configs/common/debug/s390x/zfcpdump/CONFIG_KASAN_VMALLOC
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/debug/CONFIG_KASAN_VMALLOC
+++ b/redhat/configs/common/debug/s390x/zfcpdump/CONFIG_KASAN_VMALLOC
diff --git a/redhat/configs/common/debug/x86/x86_64/CONFIG_KASAN b/redhat/configs/common/debug/x86/x86_64/CONFIG_KASAN
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/common/debug/x86/x86_64/CONFIG_KASAN
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_KASAN=y
diff --git a/redhat/configs/common/debug/x86/x86_64/CONFIG_KASAN_GENERIC b/redhat/configs/common/debug/x86/x86_64/CONFIG_KASAN_GENERIC
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/common/debug/x86/x86_64/CONFIG_KASAN_GENERIC
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_KASAN_GENERIC=y
diff --git a/redhat/configs/common/debug/x86/x86_64/CONFIG_KASAN_INLINE b/redhat/configs/common/debug/x86/x86_64/CONFIG_KASAN_INLINE
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/common/debug/x86/x86_64/CONFIG_KASAN_INLINE
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_KASAN_INLINE=y
diff --git a/redhat/configs/fedora/debug/arm/CONFIG_KASAN_HW_TAGS b/redhat/configs/fedora/debug/arm/CONFIG_KASAN_HW_TAGS
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/fedora/debug/arm/CONFIG_KASAN_HW_TAGS
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_KASAN_HW_TAGS is not set

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1750
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux