We check that p_ktr is empty in proc_dtor(), so we must take care to
initialize it before we do anything that can lead to the failure path.
PR: 291470
MFC after: 1 week
Differential D54215
fork1: Initialize p_ktr earlier Authored by des on Sat, Dec 13, 10:36 PM.
Details
We check that p_ktr is empty in proc_dtor(), so we must take care to PR: 291470
Diff Detail
Event TimelineComment Actions And then proc_dtor could assert that p->p_ktr is empty unconditionally, not only when there is a thread owned by the process. |