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)
Tue, May 7, 8:46 PM
Unknown Object (File)
Sun, May 5, 2:23 PM
Unknown Object (File)
Tue, Apr 23, 11:29 AM
Unknown Object (File)
Dec 24 2023, 4:43 PM
Unknown Object (File)
Dec 23 2023, 12:45 AM
Unknown Object (File)
Aug 7 2023, 5:34 PM
Unknown Object (File)
Jul 29 2023, 1:17 PM
Unknown Object (File)
Jun 3 2023, 7:55 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