Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jun 2014 14:41:42 GMT
From:      op@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r269062 - soc2014/op/freebsd-base/sys/amd64/ia32
Message-ID:  <201406041441.s54Efgx2059968@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: op
Date: Wed Jun  4 14:41:41 2014
New Revision: 269062
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=269062

Log:
  AMD64 SMAP: clear SMAP state on exceptions in ia32 case
  
  git: https://github.com/opntr/opBSD/tree/op/gsoc2014/smap
  
  Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
  
  

Modified:
  soc2014/op/freebsd-base/sys/amd64/ia32/ia32_exception.S

Modified: soc2014/op/freebsd-base/sys/amd64/ia32/ia32_exception.S
==============================================================================
--- soc2014/op/freebsd-base/sys/amd64/ia32/ia32_exception.S	Wed Jun  4 13:42:19 2014	(r269061)
+++ soc2014/op/freebsd-base/sys/amd64/ia32/ia32_exception.S	Wed Jun  4 14:41:41 2014	(r269062)
@@ -67,6 +67,7 @@
 	movq	%r14,TF_R14(%rsp)
 	movq	%r15,TF_R15(%rsp)
 	movl	$TF_HASSEGS,TF_FLAGS(%rsp)
+	clac
 	cld
 	FAKE_MCOUNT(TF_RIP(%rsp))
 	movq	%rsp, %rdi



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