[OS-BUILD PATCHv3 1/4] redhat/configs: Enable CONFIG_KASAN on Fedora

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

 



From: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>

KASAN is useful for finding bugs.  Enable it in the Fedora debug kernel
for x86 and arm64, for consistency with ARK.

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1856176
Signed-off-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
---
 redhat/configs/ark/generic/CONFIG_KASAN_EXTRA                    | 1 -
 redhat/configs/ark/generic/CONFIG_KASAN_GENERIC                  | 1 -
 .../configs/{ark/generic => common/debug}/CONFIG_KASAN_OUTLINE   | 0
 redhat/configs/{ark => common}/debug/arm/aarch64/CONFIG_KASAN    | 0
 .../{ark => common}/debug/arm/aarch64/CONFIG_KASAN_GENERIC       | 0
 .../{ark => common}/debug/arm/aarch64/CONFIG_KASAN_INLINE        | 0
 redhat/configs/{ark => common}/debug/x86/x86_64/CONFIG_KASAN     | 0
 .../{ark => common}/debug/x86/x86_64/CONFIG_KASAN_GENERIC        | 0
 .../configs/{ark => common}/debug/x86/x86_64/CONFIG_KASAN_INLINE | 0
 9 files changed, 2 deletions(-)
 delete mode 100644 redhat/configs/ark/generic/CONFIG_KASAN_EXTRA
 delete mode 100644 redhat/configs/ark/generic/CONFIG_KASAN_GENERIC
 rename redhat/configs/{ark/generic => common/debug}/CONFIG_KASAN_OUTLINE (100%)
 rename redhat/configs/{ark => common}/debug/arm/aarch64/CONFIG_KASAN (100%)
 rename redhat/configs/{ark => common}/debug/arm/aarch64/CONFIG_KASAN_GENERIC (100%)
 rename redhat/configs/{ark => common}/debug/arm/aarch64/CONFIG_KASAN_INLINE (100%)
 rename redhat/configs/{ark => common}/debug/x86/x86_64/CONFIG_KASAN (100%)
 rename redhat/configs/{ark => common}/debug/x86/x86_64/CONFIG_KASAN_GENERIC (100%)
 rename redhat/configs/{ark => common}/debug/x86/x86_64/CONFIG_KASAN_INLINE (100%)

diff --git a/redhat/configs/ark/generic/CONFIG_KASAN_EXTRA b/redhat/configs/ark/generic/CONFIG_KASAN_EXTRA
deleted file mode 100644
index bd13b3f187b8..000000000000
--- a/redhat/configs/ark/generic/CONFIG_KASAN_EXTRA
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_KASAN_EXTRA is not set
diff --git a/redhat/configs/ark/generic/CONFIG_KASAN_GENERIC b/redhat/configs/ark/generic/CONFIG_KASAN_GENERIC
deleted file mode 100644
index 9e5c6e8e6922..000000000000
--- a/redhat/configs/ark/generic/CONFIG_KASAN_GENERIC
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_KASAN_GENERIC is not set
diff --git a/redhat/configs/ark/generic/CONFIG_KASAN_OUTLINE b/redhat/configs/common/debug/CONFIG_KASAN_OUTLINE
similarity index 100%
rename from redhat/configs/ark/generic/CONFIG_KASAN_OUTLINE
rename to redhat/configs/common/debug/CONFIG_KASAN_OUTLINE
diff --git a/redhat/configs/ark/debug/arm/aarch64/CONFIG_KASAN b/redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN
similarity index 100%
rename from redhat/configs/ark/debug/arm/aarch64/CONFIG_KASAN
rename to redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN
diff --git a/redhat/configs/ark/debug/arm/aarch64/CONFIG_KASAN_GENERIC b/redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN_GENERIC
similarity index 100%
rename from redhat/configs/ark/debug/arm/aarch64/CONFIG_KASAN_GENERIC
rename to redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN_GENERIC
diff --git a/redhat/configs/ark/debug/arm/aarch64/CONFIG_KASAN_INLINE b/redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN_INLINE
similarity index 100%
rename from redhat/configs/ark/debug/arm/aarch64/CONFIG_KASAN_INLINE
rename to redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN_INLINE
diff --git a/redhat/configs/ark/debug/x86/x86_64/CONFIG_KASAN b/redhat/configs/common/debug/x86/x86_64/CONFIG_KASAN
similarity index 100%
rename from redhat/configs/ark/debug/x86/x86_64/CONFIG_KASAN
rename to redhat/configs/common/debug/x86/x86_64/CONFIG_KASAN
diff --git a/redhat/configs/ark/debug/x86/x86_64/CONFIG_KASAN_GENERIC b/redhat/configs/common/debug/x86/x86_64/CONFIG_KASAN_GENERIC
similarity index 100%
rename from redhat/configs/ark/debug/x86/x86_64/CONFIG_KASAN_GENERIC
rename to redhat/configs/common/debug/x86/x86_64/CONFIG_KASAN_GENERIC
diff --git a/redhat/configs/ark/debug/x86/x86_64/CONFIG_KASAN_INLINE b/redhat/configs/common/debug/x86/x86_64/CONFIG_KASAN_INLINE
similarity index 100%
rename from redhat/configs/ark/debug/x86/x86_64/CONFIG_KASAN_INLINE
rename to redhat/configs/common/debug/x86/x86_64/CONFIG_KASAN_INLINE
-- 
GitLab
_______________________________________________
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




[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