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)
Sat, Jan 31, 3:31 AM
Unknown Object (File)
Sat, Jan 10, 7:37 PM
Unknown Object (File)
Sun, Jan 4, 1:53 PM
Unknown Object (File)
Dec 12 2025, 2:45 PM
Unknown Object (File)
Nov 21 2025, 7:41 PM
Unknown Object (File)
Nov 18 2025, 10:38 AM
Unknown Object (File)
Nov 17 2025, 5:59 PM
Unknown Object (File)
Nov 17 2025, 3:35 PM
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