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, Jun 25, 9:13 AM
Unknown Object (File)
May 31 2026, 7:11 AM
Unknown Object (File)
May 26 2026, 4:25 AM
Unknown Object (File)
May 22 2026, 3:13 PM
Unknown Object (File)
May 22 2026, 10:25 AM
Unknown Object (File)
May 20 2026, 12:31 AM
Unknown Object (File)
May 14 2026, 8:53 PM
Unknown Object (File)
May 14 2026, 2:26 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