Page MenuHomeFreeBSD

Set the oppid field of orphans when exiting.
ClosedPublic

Authored by markj on Apr 5 2019, 12:50 AM.
Tags
None
Referenced Files
F170617377: D19825.id55904.diff
Sat, Sep 5, 4:11 PM
F170606539: D19825.id55904.diff
Sat, Sep 5, 3:02 PM
F170540599: D19825.id55821.diff
Sat, Sep 5, 7:53 AM
Unknown Object (File)
Sat, Sep 5, 12:14 AM
Unknown Object (File)
Wed, Sep 2, 5:05 PM
Unknown Object (File)
Wed, Aug 12, 11:12 AM
Unknown Object (File)
Wed, Aug 12, 7:17 AM
Unknown Object (File)
Sun, Aug 9, 5:57 PM
Subscribers

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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 23524
Build 22528: arc lint + arc unit