From: Ben Gras Date: Fri, 3 Feb 2006 14:54:20 +0000 (+0000) Subject: Give init process group 1. X-Git-Tag: v3.1.2a~386 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/mult.png?a=commitdiff_plain;h=bcb67841a571bc1501ea2878d42e6f8201bafbb9;p=minix.git Give init process group 1. --- diff --git a/servers/pm/main.c b/servers/pm/main.c index e7245f8e4..471be3867 100644 --- a/servers/pm/main.c +++ b/servers/pm/main.c @@ -216,7 +216,7 @@ PRIVATE void pm_init() sigemptyset(&rmp->mp_sigmask); sigemptyset(&rmp->mp_catch); if (ip->proc_nr == INIT_PROC_NR) { /* user process */ - rmp->mp_pid = INIT_PID; + rmp->mp_procgrp = rmp->mp_pid = INIT_PID; rmp->mp_flags |= IN_USE; } else { /* system process */