svn commit: r200082 - head/sys/kern

Konstantin Belousov kib at FreeBSD.org
Thu Dec 3 20:17:00 UTC 2009


Author: kib
Date: Thu Dec  3 20:16:59 2009
New Revision: 200082
URL: http://svn.freebsd.org/changeset/base/200082

Log:
  Remove wrong assertion. Debugee is allowed to lose a signal.
  
  Reported and tested by:	jh
  MFC after:	2 weeks

Modified:
  head/sys/kern/kern_sig.c

Modified: head/sys/kern/kern_sig.c
==============================================================================
--- head/sys/kern/kern_sig.c	Thu Dec  3 20:06:03 2009	(r200081)
+++ head/sys/kern/kern_sig.c	Thu Dec  3 20:16:59 2009	(r200082)
@@ -2492,7 +2492,7 @@ issignal(struct thread *td, int stop_all
 	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_all
 				 */
 				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);
 				}
 
 				/*


More information about the svn-src-head mailing list