Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Apr 2015 08:11:11 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r281068 - stable/9/sys/amd64/amd64
Message-ID:  <201504040811.t348BBnr000273@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sat Apr  4 08:11:10 2015
New Revision: 281068
URL: https://svnweb.freebsd.org/changeset/base/281068

Log:
  MFC r280781:
  Make it possible for the signal handler to act on #ss.

Modified:
  stable/9/sys/amd64/amd64/machdep.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/amd64/amd64/machdep.c
==============================================================================
--- stable/9/sys/amd64/amd64/machdep.c	Sat Apr  4 08:06:13 2015	(r281067)
+++ stable/9/sys/amd64/amd64/machdep.c	Sat Apr  4 08:11:10 2015	(r281068)
@@ -430,6 +430,7 @@ sendsig(sig_t catcher, ksiginfo_t *ksi, 
 	regs->tf_rflags &= ~(PSL_T | PSL_D);
 	regs->tf_cs = _ucodesel;
 	regs->tf_ds = _udatasel;
+	regs->tf_ss = _udatasel;
 	regs->tf_es = _udatasel;
 	regs->tf_fs = _ufssel;
 	regs->tf_gs = _ugssel;



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