[OS-BUILD PATCH] 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/common/debug/CONFIG_KASAN
rename from redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN
rename to redhat/configs/common/debug/CONFIG_KASAN
index blahblah..blahblah 100644
--- a/redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN
+++ b/redhat/configs/common/debug/CONFIG_KASAN
diff --git a/redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN_GENERIC b/redhat/configs/common/debug/CONFIG_KASAN_GENERIC
rename from redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN_GENERIC
rename to redhat/configs/common/debug/CONFIG_KASAN_GENERIC
index blahblah..blahblah 100644
--- a/redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN_GENERIC
+++ b/redhat/configs/common/debug/CONFIG_KASAN_GENERIC
diff --git a/redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN_INLINE b/redhat/configs/common/debug/CONFIG_KASAN_INLINE
rename from redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN_INLINE
rename to redhat/configs/common/debug/CONFIG_KASAN_INLINE
index blahblah..blahblah 100644
--- a/redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN_INLINE
+++ b/redhat/configs/common/debug/CONFIG_KASAN_INLINE
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/CONFIG_KASAN_HW_TAGS
rename from redhat/configs/fedora/debug/arm/CONFIG_KASAN_HW_TAGS
rename to redhat/configs/fedora/debug/CONFIG_KASAN_HW_TAGS
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/debug/arm/CONFIG_KASAN_HW_TAGS
+++ b/redhat/configs/fedora/debug/CONFIG_KASAN_HW_TAGS
diff --git a/redhat/configs/fedora/generic/CONFIG_KASAN b/redhat/configs/fedora/generic/CONFIG_KASAN
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/fedora/generic/CONFIG_KASAN
@@ -0,0 +1 @@
+# CONFIG_KASAN is not set
diff --git a/redhat/configs/fedora/generic/CONFIG_KASAN_GENERIC b/redhat/configs/fedora/generic/CONFIG_KASAN_GENERIC
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/fedora/generic/CONFIG_KASAN_GENERIC
@@ -0,0 +1 @@
+# CONFIG_KASAN_GENERIC is not set
diff --git a/redhat/configs/fedora/generic/CONFIG_KASAN_INLINE b/redhat/configs/fedora/generic/CONFIG_KASAN_INLINE
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/fedora/generic/CONFIG_KASAN_INLINE
@@ -0,0 +1 @@
+# CONFIG_KASAN_INLINE is not set
diff --git a/redhat/configs/fedora/generic/CONFIG_KASAN_VMALLOC b/redhat/configs/fedora/generic/CONFIG_KASAN_VMALLOC
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/fedora/generic/CONFIG_KASAN_VMALLOC
@@ -0,0 +1 @@
+# CONFIG_KASAN_VMALLOC 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