From 794283f94b82d3469941bf9d880b3e3940ac7435 Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Mon, 22 Apr 2024 13:07:53 -0400 Subject: [PATCH] thread: Add a missing include of asan.h I didn't notice this during testing because invariants-enabled kernels implicitly include asan.h via kassert.h. Reported by: Lexi Winter Fixes: 800da341bc4a ("thread: Simplify sanitizer integration with thread creation") (cherry picked from commit 7a7063cc54274a44192fb65c71360a5e72c171b9) --- sys/kern/kern_thread.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c index af125ff28dc..d0a5a7ffac6 100644 --- a/sys/kern/kern_thread.c +++ b/sys/kern/kern_thread.c @@ -32,6 +32,7 @@ #include "opt_hwpmc_hooks.h" #include +#include #include #include #include