HomeFreeBSD

libthr: wrap pdfork(2), same as fork(2).

Description

libthr: wrap pdfork(2), same as fork(2).

Without wrapping, rtld services and malloc(3) are not guaranteed
to operate correctly in the forked child.

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

Details

Provenance
kibAuthored on Jan 10 2021, 7:22 PM
Reviewer
markj
Differential Revision
D28088: libthr: wrap pdfork(2), same as fork(2).
Parents
rG4174e45fb432: amd64 pmap: do not sleep in pmap_allocpte_alloc() with zero referenced pageā€¦
Branches
Unknown
Tags
Unknown