summaryrefslogtreecommitdiff
path: root/arch/x86/um/vdso/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/um/vdso/Makefile')
-rw-r--r--arch/x86/um/vdso/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/um/vdso/Makefile b/arch/x86/um/vdso/Makefile
index 5943387e3f35..8c0396fd0e6f 100644
--- a/arch/x86/um/vdso/Makefile
+++ b/arch/x86/um/vdso/Makefile
@@ -3,6 +3,9 @@
# Building vDSO images for x86.
#
+# do not instrument on vdso because KASAN is not compatible with user mode
+KASAN_SANITIZE := n
+
# Prevents link failures: __sanitizer_cov_trace_pc() is not linked in.
KCOV_INSTRUMENT := n