diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-12-20 18:30:58 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-12-20 18:30:58 +0000 |
commit | e9a7c303fcaf5ac2b882e76c5f3e98a1115a7836 (patch) | |
tree | 464ca6b7ae546e973036945784e5edcef3f4008e /proc | |
parent | 1f533dfc2fc1139c682914645dd96573d3c8cab9 (diff) |
(new_proc): Don't set P->p_noowner for processes 0 and 1.
Diffstat (limited to 'proc')
-rw-r--r-- | proc/mgt.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -500,6 +500,7 @@ new_proc (task_t task) p->p_ochild = p; p->p_loginleader = 1; p->p_parentset = 1; + p->p_noowner = 0; } else if (p->p_pid == 1) { @@ -515,6 +516,7 @@ new_proc (task_t task) p->p_loginleader = 1; p->p_ochild = 0; p->p_parentset = 1; + p->p_noowner = 0; } else { @@ -532,6 +534,7 @@ new_proc (task_t task) p->p_loginleader = 0; p->p_ochild = 0; p->p_parentset = 0; + p->p_noowner = 1; } if (p->p_pid < 2) @@ -553,7 +556,6 @@ new_proc (task_t task) p->p_deadmsg = (p->p_pid == 1); p->p_checkmsghangs = 0; p->p_msgportwait = 0; - p->p_noowner = 1; if (p->p_pid > 1) { |