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)
Mon, Apr 20, 1:16 AM
Unknown Object (File)
Wed, Apr 8, 9:57 PM
Unknown Object (File)
Mon, Apr 6, 6:06 AM
Unknown Object (File)
Mar 17 2026, 10:47 AM
Unknown Object (File)
Mar 13 2026, 5:29 PM
Unknown Object (File)
Mar 13 2026, 3:47 PM
Unknown Object (File)
Mar 13 2026, 3:40 PM
Unknown Object (File)
Mar 8 2026, 11:16 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