Don't bother to turn off other P_STOPPED bits for SIGKILL, doing

so would cause kernel to produce an unkillable process in some cases,
especially, P_STOPPED_SINGLE has a singling thread, turning off the
bit would mess the state.
This commit is contained in:
David Xu 2004-10-03 13:23:49 +00:00
parent be0a655e77
commit 482d099c50
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=136086

View file

@ -1812,7 +1812,7 @@ do_tdsignal(struct thread *td, int sig, sigtarget_t target)
* It will die elsewhere.
* All threads must be restarted.
*/
p->p_flag &= ~P_STOPPED;
p->p_flag &= ~P_STOPPED_SIG;
goto runfast;
}