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
F173810851: D19825.id55821.diff
Mon, Sep 28, 3:07 PM
Unknown Object (File)
Wed, Sep 23, 3:20 PM
Unknown Object (File)
Sun, Sep 20, 2:01 PM
Unknown Object (File)
Fri, Sep 18, 3:46 PM
Unknown Object (File)
Thu, Sep 17, 2:25 AM
Unknown Object (File)
Sat, Sep 5, 4:11 PM
Unknown Object (File)
Sat, Sep 5, 3:02 PM
Unknown Object (File)
Sat, Sep 5, 7:53 AM
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

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