HomeFreeBSD

atomic: Fix the atomic_load_ptr() *SAN interceptor

Description

atomic: Fix the atomic_load_ptr() *SAN interceptor

The interceptor didn't handle a pointer of type "foo * const *" and in
that case we'd get compiler errors 1) an invalid cast to volatile
uintptr_t, and 2) an assignment to a variable of type "foo * const"
(__retptr).

Reported by: mjg
MFC after: 1 week

Details

Provenance
markjAuthored on Feb 9 2023, 2:54 PM
Parents
rG6332ef894199: testing: handling non-root users with VNETs in pytest-based tests.
Branches
Unknown
Tags
Unknown