HomeFreeBSD

libthr: move dlerror_msg into zeroed part of struct thread

Description

libthr: move dlerror_msg into zeroed part of struct thread

struct thread reuse might cause stalled rtld error message to propagate
to the new thread.

Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D48200

Details

Provenance
kibAuthored on Dec 23 2024, 11:48 PM
Reviewer
markj
Differential Revision
D48200: Several fixes for libthr, related to cancellation
Parents
rGe32308efa215: thr_sig.c: style
Branches
Unknown
Tags
Unknown