PM: restore own proper process group
PM uses its own process table entry as source for kernel signals, and temporarily changes its own process group to make the signals arrive at the right processes. However, the value is never reset, with as result that the temporary value shows up in ps(1) output. Change-Id: Ib7f635b2cf1958055123736dfd58c26530632785
This commit is contained in:
parent
58be976d3b
commit
1b75f6357e
@ -330,6 +330,7 @@ int process_ksig(endpoint_t proc_nr_e, int signo)
|
||||
break;
|
||||
}
|
||||
check_sig(id, signo, TRUE /* ksig */);
|
||||
mp->mp_procgrp = 0; /* restore proper PM process group */
|
||||
|
||||
/* If SIGSNDELAY is set, an earlier sys_stop() failed because the process was
|
||||
* still sending, and the kernel hereby tells us that the process is now done
|
||||
|
Loading…
x
Reference in New Issue
Block a user