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)
Fri, Nov 21, 7:41 PM
Unknown Object (File)
Tue, Nov 18, 10:38 AM
Unknown Object (File)
Mon, Nov 17, 5:59 PM
Unknown Object (File)
Mon, Nov 17, 3:35 PM
Unknown Object (File)
Mon, Nov 17, 3:18 PM
Unknown Object (File)
Sun, Nov 16, 10:42 AM
Unknown Object (File)
Fri, Nov 7, 10:57 PM
Unknown Object (File)
Nov 3 2025, 11:39 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