Date: Sun, 13 Nov 2016 12:13:48 +0700
From: Robert Elz <[email protected]>
Message-ID: <[email protected]>
| In an earlier message I said ...
| and the modification of p_ppid there [to init]
| could be handled outside proc_reparent()
Too messy. But, in proc_reparent()
if (parent == initproc)
child->p_ppid = parent->p_pid;
(or just " = 1;") would handle all the cases I think. Could an extra test
and move the p_exitsit setting when being reparented to init so they're
both handled by the same test.
kre