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)
Fri, Nov 14, 12:56 PM
Unknown Object (File)
Thu, Nov 13, 4:46 PM
Unknown Object (File)
Tue, Nov 11, 4:26 AM
Unknown Object (File)
Sat, Nov 8, 1:37 PM
Unknown Object (File)
Sun, Oct 26, 4:28 PM
Unknown Object (File)
Sat, Oct 25, 12:43 AM
Unknown Object (File)
Fri, Oct 24, 12:43 AM
Unknown Object (File)
Fri, Oct 24, 12:43 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