svn commit: r306406 - head/sys/mips/mips

Ruslan Bukin br at FreeBSD.org
Wed Sep 28 12:23:47 UTC 2016


Author: br
Date: Wed Sep 28 12:23:46 2016
New Revision: 306406
URL: https://svnweb.freebsd.org/changeset/base/306406

Log:
  Fill all the siginfo so we have si_value set as well.
  This fixes timer_create(2) tests.
  
  Sponsored by:	DARPA, AFRL
  Sponsored by:	HEIF5

Modified:
  head/sys/mips/mips/pm_machdep.c

Modified: head/sys/mips/mips/pm_machdep.c
==============================================================================
--- head/sys/mips/mips/pm_machdep.c	Wed Sep 28 09:51:07 2016	(r306405)
+++ head/sys/mips/mips/pm_machdep.c	Wed Sep 28 12:23:46 2016	(r306406)
@@ -143,6 +143,7 @@ sendsig(sig_t catcher, ksiginfo_t *ksi, 
 		/* sf.sf_ahu.sf_action = (__siginfohandler_t *)catcher; */
 
 		/* fill siginfo structure */
+		sf.sf_si = ksi->ksi_info;
 		sf.sf_si.si_signo = sig;
 		sf.sf_si.si_code = ksi->ksi_code;
 		sf.sf_si.si_addr = (void*)(intptr_t)regs->badvaddr;


More information about the svn-src-all mailing list