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, 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
Unknown Object (File)
May 22 2023, 9:39 PM
Unknown Object (File)
May 14 2023, 6:29 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