1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-08 13:28:05 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=70104

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