Page MenuHomeFreeBSD

libc: Add pdfork to the list of interposed system calls
ClosedPublic

Authored by markj on Dec 6 2021, 11:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 16, 8:03 PM
Unknown Object (File)
Thu, Apr 16, 6:15 AM
Unknown Object (File)
Mon, Apr 13, 10:35 AM
Unknown Object (File)
Sat, Apr 11, 8:28 PM
Unknown Object (File)
Sun, Mar 22, 10:48 AM
Unknown Object (File)
Sun, Mar 22, 1:44 AM
Unknown Object (File)
Mar 15 2026, 6:13 PM
Unknown Object (File)
Mar 8 2026, 9:34 AM
Subscribers

Details

Reviewers
kib
Summary

Commmit 21f749da82e7 ("libthr: wrap pdfork(2), same as fork(2).") did
the legwork to implement libthr interposition of pdfork(2), but it seems
that the libc build also needs to be updated to point to the C
implementation. Otherwise the asm stub is used and interposition does
not work.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 43201
Build 40089: arc lint + arc unit