File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,8 @@ config ARCH_DISABLE_KASAN_INLINE
22
22
config CC_HAS_KASAN_GENERIC
23
23
def_bool $(cc-option, -fsanitize=kernel-address)
24
24
25
- # GCC appears to ignore no_sanitize_address when -fsanitize=kernel-hwaddress
26
- # is passed. See https://bugzilla.kernel.org/show_bug.cgi?id=218854 (and
27
- # the linked LKML thread) for more details.
28
25
config CC_HAS_KASAN_SW_TAGS
29
- def_bool !CC_IS_GCC && $(cc-option, -fsanitize=kernel-hwaddress)
26
+ def_bool $(cc-option, -fsanitize=kernel-hwaddress)
30
27
31
28
# This option is only required for software KASAN modes.
32
29
# Old GCC versions do not have proper support for no_sanitize_address.
@@ -101,7 +98,7 @@ config KASAN_SW_TAGS
101
98
help
102
99
Enables Software Tag-Based KASAN.
103
100
104
- Requires Clang.
101
+ Requires GCC 11+ or Clang.
105
102
106
103
Supported only on arm64 CPUs and relies on Top Byte Ignore.
107
104
You can’t perform that action at this time.
0 commit comments