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
Unknown Object (File)
Thu, May 14, 8:53 PM
Unknown Object (File)
Thu, May 14, 2:26 PM
Unknown Object (File)
Mon, May 11, 5:37 PM
Unknown Object (File)
Thu, Apr 30, 8:54 PM
Unknown Object (File)
Wed, Apr 29, 7:20 AM
Unknown Object (File)
Wed, Apr 29, 7:12 AM
Unknown Object (File)
Wed, Apr 29, 2:52 AM
Unknown Object (File)
Sun, Apr 26, 4:28 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