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)
Feb 26 2024, 10:03 PM
Unknown Object (File)
Feb 26 2024, 9:29 PM
Unknown Object (File)
Jan 5 2024, 4:56 AM
Unknown Object (File)
Jan 5 2024, 4:56 AM
Unknown Object (File)
Jan 5 2024, 4:55 AM
Unknown Object (File)
Jan 5 2024, 4:55 AM
Unknown Object (File)
Jan 5 2024, 4:55 AM
Unknown Object (File)
Jan 5 2024, 4:42 AM
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.