svn commit: r239754 - stable/9/sys/kern

Konstantin Belousov kib at FreeBSD.org
Mon Aug 27 20:23:04 UTC 2012


Author: kib
Date: Mon Aug 27 20:23:03 2012
New Revision: 239754
URL: http://svn.freebsd.org/changeset/base/239754

Log:
  MFC r239374:
  Deliver SIGSYS to the guilty thread, not to the process.

Modified:
  stable/9/sys/kern/kern_sig.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/kern/kern_sig.c
==============================================================================
--- stable/9/sys/kern/kern_sig.c	Mon Aug 27 20:10:38 2012	(r239753)
+++ stable/9/sys/kern/kern_sig.c	Mon Aug 27 20:23:03 2012	(r239754)
@@ -3313,7 +3313,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-stable mailing list