Always skip signals for PM itself when broadcasting.
This commit is contained in:
parent
035c5a369c
commit
332842295a
@ -370,6 +370,11 @@ int ksig; /* non-zero means signal comes from kernel */
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Always skip signals for PM (only necessary when broadcasting). */
|
||||||
|
if(rmp->mp_endpoint == PM_PROC_NR) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/* Print stacktrace if necessary. */
|
/* Print stacktrace if necessary. */
|
||||||
if(SIGS_IS_STACKTRACE(signo)) {
|
if(SIGS_IS_STACKTRACE(signo)) {
|
||||||
sys_sysctl_stacktrace(rmp->mp_endpoint);
|
sys_sysctl_stacktrace(rmp->mp_endpoint);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user