From owner-svn-soc-all@FreeBSD.ORG Thu Jun 12 22:31:49 2014 Return-Path: Delivered-To: svn-soc-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DC3911BD for ; Thu, 12 Jun 2014 22:31:49 +0000 (UTC) Received: from socsvn.freebsd.org (socsvn.freebsd.org [IPv6:2001:1900:2254:206a::50:2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C911F209F for ; Thu, 12 Jun 2014 22:31:49 +0000 (UTC) Received: from socsvn.freebsd.org ([127.0.1.124]) by socsvn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5CMVnvn047978 for ; Thu, 12 Jun 2014 22:31:49 GMT (envelope-from op@FreeBSD.org) Received: (from www@localhost) by socsvn.freebsd.org (8.14.8/8.14.8/Submit) id s5CMVnO7047780 for svn-soc-all@FreeBSD.org; Thu, 12 Jun 2014 22:31:49 GMT (envelope-from op@FreeBSD.org) Date: Thu, 12 Jun 2014 22:31:49 GMT Message-Id: <201406122231.s5CMVnO7047780@socsvn.freebsd.org> X-Authentication-Warning: socsvn.freebsd.org: www set sender to op@FreeBSD.org using -f From: op@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r269490 - soc2014/op/freebsd-base/sys/i386/i386 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2014 22:31:49 -0000 Author: op Date: Thu Jun 12 22:31:48 2014 New Revision: 269490 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=269490 Log: SMAP i386: clear SMAP state on exception git: https://github.com/opntr/opBSD/tree/op/gsoc2014/smap Signed-off-by: Oliver Pinter Modified: soc2014/op/freebsd-base/sys/i386/i386/exception.s Modified: soc2014/op/freebsd-base/sys/i386/i386/exception.s ============================================================================== --- soc2014/op/freebsd-base/sys/i386/i386/exception.s Thu Jun 12 22:31:27 2014 (r269489) +++ soc2014/op/freebsd-base/sys/i386/i386/exception.s Thu Jun 12 22:31:48 2014 (r269490) @@ -162,6 +162,7 @@ pushl %fs alltraps_with_regs_pushed: SET_KERNEL_SREGS + clac cld FAKE_MCOUNT(TF_EIP(%esp)) calltrap: