Date: Thu, 3 Dec 2009 20:16:59 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r200082 - head/sys/kern Message-ID: <200912032016.nB3KGxRj025028@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); } /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912032016.nB3KGxRj025028>