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
F110355107: D19825.id55904.diff
Mon, Feb 17, 6:22 AM
F110348375: D19825.diff
Mon, Feb 17, 4:09 AM
Unknown Object (File)
Mon, Feb 3, 12:40 AM
Unknown Object (File)
Jan 3 2025, 9:32 PM
Unknown Object (File)
Dec 31 2024, 7:49 AM
Unknown Object (File)
Dec 10 2024, 7:58 PM
Unknown Object (File)
Dec 8 2024, 7:41 AM
Unknown Object (File)
Oct 9 2024, 12:54 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

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