Always skip signals for PM itself when broadcasting.

This commit is contained in:
Cristiano Giuffrida 2010-06-03 11:18:43 +00:00
parent 035c5a369c
commit 332842295a

View File

@ -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);