Author: kib Date: Tue Mar 31 01:05:34 2015 New Revision: 280876 URL: https://svnweb.freebsd.org/changeset/base/280876
Log: MFC r280781: Make it possible for the signal handler to act on #ss. Load the canonical user data segment' selector into %ss when calling the handler. Modified: stable/10/sys/amd64/amd64/machdep.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/amd64/amd64/machdep.c ============================================================================== --- stable/10/sys/amd64/amd64/machdep.c Tue Mar 31 00:59:30 2015 (r280875) +++ stable/10/sys/amd64/amd64/machdep.c Tue Mar 31 01:05:34 2015 (r280876) @@ -429,6 +429,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; _______________________________________________ svn-src-stable-10@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10 To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"