From owner-svn-src-head@FreeBSD.ORG Thu Dec 3 20:17:00 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03D6D106566C; Thu, 3 Dec 2009 20:17:00 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E74098FC0C; Thu, 3 Dec 2009 20:16:59 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id nB3KGxcm025030; Thu, 3 Dec 2009 20:16:59 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id nB3KGxRj025028; Thu, 3 Dec 2009 20:16:59 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <200912032016.nB3KGxRj025028@svn.freebsd.org> From: Konstantin Belousov Date: Thu, 3 Dec 2009 20:16:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r200082 - head/sys/kern X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2009 20:17:00 -0000 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); } /*