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)
Oct 9 2024, 12:54 AM
Unknown Object (File)
Sep 27 2024, 9:19 AM
Unknown Object (File)
Sep 19 2024, 6:57 AM
Unknown Object (File)
Sep 5 2024, 8:00 PM
Unknown Object (File)
Sep 3 2024, 12:34 AM
Unknown Object (File)
Aug 31 2024, 6:15 PM
Unknown Object (File)
Aug 31 2024, 10:40 AM
Unknown Object (File)
Aug 24 2024, 2:22 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