Linux: work around use of GPL-only symbol kasan_flag_enabled

We may not be able to avoid our code referencing the symbol, but we can
ensure that a symbol of that name is available to the linker during
build, and so not require linking the GPL-exported version.

Sponsored-by: https://despairlabs.com/sponsor/
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Closes #18009
Closes #18040
This commit is contained in:
Rob Norris
2025-12-11 05:04:57 +11:00
committed by GitHub
parent 0c194352b5
commit 9fdb854109
5 changed files with 74 additions and 1 deletions
+1
View File
@@ -433,6 +433,7 @@ ZFS_OBJS := \
ZFS_OBJS_OS := \
abd_os.o \
arc_os.o \
kasan_compat.o \
mmp_os.o \
policy.o \
qat.o \