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)
Sun, Mar 30, 2:20 AM
Unknown Object (File)
Sun, Mar 9, 10:57 PM
Unknown Object (File)
Feb 18 2025, 4:21 PM
Unknown Object (File)
Feb 17 2025, 6:22 AM
Unknown Object (File)
Feb 17 2025, 4:09 AM
Unknown Object (File)
Feb 3 2025, 12:40 AM
Unknown Object (File)
Jan 3 2025, 9:32 PM
Unknown Object (File)
Dec 31 2024, 7:49 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