git: 794283f94b82 - stable/14 - thread: Add a missing include of asan.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 07 Feb 2025 14:47:08 UTC
The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=794283f94b82d3469941bf9d880b3e3940ac7435 commit 794283f94b82d3469941bf9d880b3e3940ac7435 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2024-04-22 17:07:53 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2025-02-07 14:46:53 +0000 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 <lexi@le-Fay.org> 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 af125ff28dc0..d0a5a7ffac61 100644 --- a/sys/kern/kern_thread.c +++ b/sys/kern/kern_thread.c @@ -32,6 +32,7 @@ #include "opt_hwpmc_hooks.h" #include <sys/systm.h> +#include <sys/asan.h> #include <sys/kernel.h> #include <sys/lock.h> #include <sys/msan.h>