HomeFreeBSD

linker_set: Disable ASAN only in userspace

Description

linker_set: Disable ASAN only in userspace

KASAN does not insert redzones around global variables and so is not
susceptible to the problem that led to us disabling ASAN for linker set
elements in the first place (see commit fe3d8086fb6f).

Reviewed by: andrew, kib
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D30126

(cherry picked from commit 2d499d505262c9c965fc5f4fd36afdd2bb7cad3d)

Details

Provenance
markjAuthored on May 7 2021, 6:24 PM
Reviewer
andrew
Differential Revision
D30126: KASAN: Disable the sanitizer in stack_capture()
Parents
rG28c338b34263: realloc: Fix KASAN(9) shadow map updates
Branches
Unknown
Tags
Unknown