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, Sep 5, 5:14 PM
Unknown Object (File)
Sat, Sep 5, 5:21 AM
Unknown Object (File)
Sat, Sep 5, 4:38 AM
Unknown Object (File)
Thu, Sep 3, 7:15 PM
Unknown Object (File)
Thu, Sep 3, 1:18 AM
Unknown Object (File)
Wed, Sep 2, 1:25 PM
Unknown Object (File)
Tue, Sep 1, 7:26 PM
Unknown Object (File)
Tue, Sep 1, 12:47 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