From owner-svn-src-all@FreeBSD.ORG Sat Aug 18 18:17:11 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D7071065670; Sat, 18 Aug 2012 18:17:11 +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 2982B8FC08; Sat, 18 Aug 2012 18:17:11 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q7IIHBpn062167; Sat, 18 Aug 2012 18:17:11 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q7IIHAxj062165; Sat, 18 Aug 2012 18:17:10 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201208181817.q7IIHAxj062165@svn.freebsd.org> From: Konstantin Belousov Date: Sat, 18 Aug 2012 18:17:10 +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: r239374 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Aug 2012 18:17:11 -0000 Author: kib Date: Sat Aug 18 18:17:10 2012 New Revision: 239374 URL: http://svn.freebsd.org/changeset/base/239374 Log: Deliver SIGSYS to the guilty thread, not to the process. MFC after: 1 week Modified: head/sys/kern/kern_sig.c Modified: head/sys/kern/kern_sig.c ============================================================================== --- head/sys/kern/kern_sig.c Sat Aug 18 16:14:50 2012 (r239373) +++ head/sys/kern/kern_sig.c Sat Aug 18 18:17:10 2012 (r239374) @@ -3314,7 +3314,7 @@ nosys(td, args) struct proc *p = td->td_proc; PROC_LOCK(p); - kern_psignal(p, SIGSYS); + tdsignal(td, SIGSYS); PROC_UNLOCK(p); return (ENOSYS); }