svn commit: r280780 - head/sys/amd64/amd64
Konstantin Belousov
kib at FreeBSD.org
Sat Mar 28 09:02:21 UTC 2015
Author: kib
Date: Sat Mar 28 09:02:19 2015
New Revision: 280780
URL: https://svnweb.freebsd.org/changeset/base/280780
Log:
The #ss fault handler erronously does not check for the fault
originated from the return to usermode. #ss must be handled same as
#np.
Reported by: Andrew Lutomirski through secteam
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Modified:
head/sys/amd64/amd64/trap.c
Modified: head/sys/amd64/amd64/trap.c
==============================================================================
--- head/sys/amd64/amd64/trap.c Sat Mar 28 06:54:18 2015 (r280779)
+++ head/sys/amd64/amd64/trap.c Sat Mar 28 09:02:19 2015 (r280780)
@@ -443,8 +443,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)
More information about the svn-src-all
mailing list