Remove wrong assertion. Debugee is allowed to lose a signal.

Reported and tested by:	jh
MFC after:	2 weeks
This commit is contained in:
Konstantin Belousov 2009-12-03 20:16:59 +00:00
parent f32534450f
commit 4f17d481ed

View File

@ -2492,7 +2492,7 @@ issignal(struct thread *td, int stop_allowed)
struct sigacts *ps;
struct sigqueue *queue;
sigset_t sigpending;
int sig, prop, newsig, signo;
int sig, prop, newsig;
p = td->td_proc;
ps = p->p_sigacts;
@ -2545,8 +2545,7 @@ issignal(struct thread *td, int stop_allowed)
*/
if (sigqueue_get(queue, sig, &ksi) == 0) {
queue = &p->p_sigqueue;
signo = sigqueue_get(queue, sig, &ksi);
KASSERT(signo == sig, ("signo != sig"));
sigqueue_get(queue, sig, &ksi);
}
/*