Page MenuHomeFreeBSD

Remove redundant RFFPWAIT handling in Linux fork(2) and clone(2) handlers.
ClosedPublic

Authored by bdrewery on Oct 6 2015, 5:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 11, 10:33 PM
Unknown Object (File)
Tue, Nov 26, 6:32 PM
Unknown Object (File)
Tue, Nov 26, 12:07 AM
Unknown Object (File)
Nov 22 2024, 4:10 PM
Unknown Object (File)
Nov 18 2024, 8:04 AM
Unknown Object (File)
Nov 18 2024, 6:18 AM
Unknown Object (File)
Nov 18 2024, 12:57 AM
Unknown Object (File)
Nov 14 2024, 5:41 PM
Subscribers

Details

Summary

r161611 added some of the code from sys_vfork() directly into the Linux
module wrappers. In r232240, the RFFPWAIT handling was moved to syscallret(),
thus this code in the Linux module is no longer needed as it will be called
in the proper order already.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bdrewery retitled this revision from to Remove redundant RFFPWAIT handling in Linux fork(2) and clone(2) handlers..
bdrewery updated this object.
bdrewery edited the test plan for this revision. (Show Details)
bdrewery added reviewers: kib, jhb.
bdrewery added a subscriber: dchagin.

Also set td_retval[1] = 0, as the main sys_*fork() syscalls do.

Remove retval change. May not be proper for Linux calling conventions.

jhb edited edge metadata.

I think this looks ok.

This revision is now accepted and ready to land.Oct 6 2015, 9:05 PM
kib edited edge metadata.
This revision was automatically updated to reflect the committed changes.