Give init process group 1.
This commit is contained in:
parent
2b610431ad
commit
bcb67841a5
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue