Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Aug 2012 18:17:10 +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: r239374 - head/sys/kern
Message-ID:  <201208181817.q7IIHAxj062165@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208181817.q7IIHAxj062165>