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)
Nov 25 2025, 11:06 AM
Unknown Object (File)
Nov 20 2025, 10:35 PM
Unknown Object (File)
Nov 20 2025, 10:29 PM
Unknown Object (File)
Nov 20 2025, 10:29 PM
Unknown Object (File)
Nov 20 2025, 10:23 PM
Unknown Object (File)
Nov 18 2025, 4:20 AM
Unknown Object (File)
Nov 14 2025, 12:56 PM
Unknown Object (File)
Nov 13 2025, 4:46 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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 23524
Build 22528: arc lint + arc unit