mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-19 06:44:31 +00:00
Fix a bug when handling SIGCONT.
Reported By: Mike Makonnen <mtm@identd.net>
This commit is contained in:
parent
21650d4595
commit
426269b2c2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111545
|
@ -1483,13 +1483,6 @@ psignal(p, sig)
|
|||
* eventually hit thread_suspend_check().
|
||||
*/
|
||||
} else if (p->p_state == PRS_NORMAL) {
|
||||
if (prop & SA_CONT) {
|
||||
/*
|
||||
* Already active, don't need to start again.
|
||||
*/
|
||||
SIGDELSET(p->p_siglist, sig);
|
||||
goto out;
|
||||
}
|
||||
if ((p->p_flag & P_TRACED) || (action != SIG_DFL) ||
|
||||
!(prop & SA_STOP)) {
|
||||
mtx_lock_spin(&sched_lock);
|
||||
|
|
Loading…
Reference in a new issue