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
F170540599: D19825.id55821.diff
Sat, Sep 5, 7:53 AM
F170475314: D19825.diff
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
Unknown Object (File)
Fri, Aug 7, 4:12 PM
Unknown Object (File)
Aug 5 2026, 9:01 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

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