svn commit: r281068 - stable/9/sys/amd64/amd64

Konstantin Belousov kib at FreeBSD.org
Sat Apr 4 08:11:11 UTC 2015


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;


More information about the svn-src-stable-9 mailing list