svn commit: r239374 - head/sys/kern

Konstantin Belousov kib at FreeBSD.org
Sat Aug 18 18:17:11 UTC 2012


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);
 }


More information about the svn-src-all mailing list