- Add a missing PROC_SUNLOCK() in tdsignal()
This commit is contained in:
parent
65d74ebe28
commit
e93b04c286
@ -2296,8 +2296,10 @@ do_tdsignal(struct proc *p, struct thread *td, int sig, ksiginfo_t *ksi)
|
||||
MPASS(action == SIG_DFL);
|
||||
|
||||
if (prop & SA_STOP) {
|
||||
if (p->p_flag & P_PPWAIT)
|
||||
if (p->p_flag & P_PPWAIT) {
|
||||
PROC_SUNLOCK(p);
|
||||
goto out;
|
||||
}
|
||||
p->p_flag |= P_STOPPED_SIG;
|
||||
p->p_xstat = sig;
|
||||
sig_suspend_threads(td, p, 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user