Page MenuHomeFreeBSD

Set the oppid field of orphans when exiting.
ClosedPublic

Authored by markj on Apr 5 2019, 12:50 AM.

Details

Summary

Such processes will be reparented to the reaper when the current parent
is done with them; oppid must be updated accordingly. Otherwise, the
p->p_oppid != p->p_pptr->p_pid check in proc_reap() will always fail.

Test Plan

Peter tested the patch.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

markj created this revision.Apr 5 2019, 12:50 AM
markj edited the test plan for this revision. (Show Details)Apr 5 2019, 12:52 AM
markj added reviewers: kib, mjg.
mjg accepted this revision.Apr 5 2019, 12:57 AM
This revision is now accepted and ready to land.Apr 5 2019, 12:57 AM
kib accepted this revision.Apr 5 2019, 9:09 AM
This revision was automatically updated to reflect the committed changes.