HomeFreeBSD

sys/conf: Introduce NOSAN_CFLAGS and NOSAN_C

Description

sys/conf: Introduce NOSAN_CFLAGS and NOSAN_C

To simplify disabling the kernel sanitizers in some files add
NOSAN_CFLAGS and NOSAN_C variables. These are CFLAGS and NORMAL_C with
the sanitizer flags removed.

While here add MSAN_CFLAGS to simplify keeping KMSAN in kern_kcov.c

Reviewed by: khng, brooks, imp, markj
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D45498

Details

Provenance
andrewAuthored on Aug 19 2024, 12:53 PM
Reviewer
khng
Differential Revision
D45498: sys/conf: Introduce NOSAN_CFLAGS and NOSAN_C
Parents
rG4132c4be4c0a: bsd-family-tree: add FreeBSD Documentation Archive
Branches
Unknown
Tags
Unknown