Fix a typo that allowed signals caused by traps to be delivered

to the process when said signal is masked.

PR: 23457
Submitted by: Yasuhiko Watanabe <yasu@mrit.mei.co.jp>
This commit is contained in:
Marcel Moolenaar
2000-12-16 21:03:48 +00:00
parent b11d7a4a2f
commit d96cfeae0c
+1 -1
View File
@@ -999,7 +999,7 @@ trapsignal(p, sig, code)
register struct sigacts *ps = p->p_sigacts;
if ((p->p_flag & P_TRACED) == 0 && SIGISMEMBER(p->p_sigcatch, sig) &&
SIGISMEMBER(p->p_sigmask, sig)) {
!SIGISMEMBER(p->p_sigmask, sig)) {
p->p_stats->p_ru.ru_nsignals++;
#ifdef KTRACE
if (KTRPOINT(p, KTR_PSIG))