From e9a7c303fcaf5ac2b882e76c5f3e98a1115a7836 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 20 Dec 1995 18:30:58 +0000 Subject: (new_proc): Don't set P->p_noowner for processes 0 and 1. --- proc/mgt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/proc/mgt.c b/proc/mgt.c index 7f9e5f3c..0842a213 100644 --- a/proc/mgt.c +++ b/proc/mgt.c @@ -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) { -- cgit v1.2.3