mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
Merge tag 'v6.6.107' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroid-6.6.y
This is the 6.6.107 stable release Change-Id: I1a1d2fb009c6f0e708ba2318b2ab3bc8bcf5055f
This commit is contained in:
@@ -68,10 +68,14 @@ CFLAGS_KASAN := -fsanitize=kernel-hwaddress \
|
||||
$(call cc-param,hwasan-inline-all-checks=0) \
|
||||
$(instrumentation_flags)
|
||||
|
||||
# Instrument memcpy/memset/memmove calls by using instrumented __hwasan_mem*().
|
||||
ifeq ($(call clang-min-version, 150000)$(call gcc-min-version, 130000),y)
|
||||
CFLAGS_KASAN += $(call cc-param,hwasan-kernel-mem-intrinsic-prefix=1)
|
||||
endif
|
||||
# Instrument memcpy/memset/memmove calls by using instrumented __(hw)asan_mem*().
|
||||
ifdef CONFIG_CC_HAS_KASAN_MEMINTRINSIC_PREFIX
|
||||
ifdef CONFIG_CC_IS_GCC
|
||||
CFLAGS_KASAN += $(call cc-param,asan-kernel-mem-intrinsic-prefix=1)
|
||||
else
|
||||
CFLAGS_KASAN += $(call cc-param,hwasan-kernel-mem-intrinsic-prefix=1)
|
||||
endif
|
||||
endif # CONFIG_CC_HAS_KASAN_MEMINTRINSIC_PREFIX
|
||||
|
||||
endif # CONFIG_KASAN_SW_TAGS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user