Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Sep 2016 12:23:46 +0000 (UTC)
From:      Ruslan Bukin <br@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r306406 - head/sys/mips/mips
Message-ID:  <201609281223.u8SCNkrJ041345@repo.freebsd.org>

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



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