Date: Tue, 31 Mar 2015 01:08:52 +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: r280877 - stable/9/sys/amd64/amd64 Message-ID: <201503310108.t2V18qQn038559@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Tue Mar 31 01:08:51 2015 New Revision: 280877 URL: https://svnweb.freebsd.org/changeset/base/280877 Log: MFC r280780: The #ss fault handler erronously does not check for the fault originated from the return to usermode. #ss must be handled same as #np. Modified: stable/9/sys/amd64/amd64/trap.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/amd64/amd64/trap.c ============================================================================== --- stable/9/sys/amd64/amd64/trap.c Tue Mar 31 01:05:34 2015 (r280876) +++ stable/9/sys/amd64/amd64/trap.c Tue Mar 31 01:08:51 2015 (r280877) @@ -479,8 +479,6 @@ trap(struct trapframe *frame) goto out; case T_STKFLT: /* stack fault */ - break; - case T_PROTFLT: /* general protection fault */ case T_SEGNPFLT: /* segment not present fault */ if (td->td_intr_nesting_level != 0)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503310108.t2V18qQn038559>