From owner-freebsd-amd64@FreeBSD.ORG Sun Jul 10 01:20:44 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9746D16A41C; Sun, 10 Jul 2005 01:20:44 +0000 (GMT) (envelope-from peter@wemm.org) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DD0943D46; Sun, 10 Jul 2005 01:20:44 +0000 (GMT) (envelope-from peter@wemm.org) Received: from fw.wemm.org (canning.wemm.org [192.203.228.65]) by canning.wemm.org (Postfix) with ESMTP id 3132D2A8F9; Sat, 9 Jul 2005 18:20:44 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (Postfix) with ESMTP id 70ED0E2B3; Sat, 9 Jul 2005 18:20:43 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (8.13.4/8.13.1) with ESMTP id j6A1Kgv4099599; Sat, 9 Jul 2005 18:20:42 -0700 (PDT) (envelope-from peter@wemm.org) Received: from localhost (localhost [[UNIX: localhost]]) by overcee.wemm.org (8.13.4/8.13.1/Submit) id j6A1Kg2a099598; Sat, 9 Jul 2005 18:20:42 -0700 (PDT) (envelope-from peter@wemm.org) X-Authentication-Warning: overcee.wemm.org: peter set sender to peter@wemm.org using -f From: Peter Wemm To: freebsd-amd64@freebsd.org Date: Sat, 9 Jul 2005 18:20:41 -0700 User-Agent: KMail/1.8.1 References: <84dead720507082349d02ece0@mail.gmail.com> <42CFDE9F.9050202@freebsd.org> In-Reply-To: <42CFDE9F.9050202@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507091820.42452.peter@wemm.org> Cc: Subject: Re: [patch] restrict amd64_set_{f, g}sbase() to values inside user VA X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jul 2005 01:20:44 -0000 On Saturday 09 July 2005 07:26 am, David Xu wrote: > I had already post similar patch some days ago to re@ > > David Xu For what its worth, I think the patch is ok, but it should be build on top of David's diff.. The one here isn't complete - there are other ways of setting gsbase besides sysarch(). > Joseph Koshy wrote: > >Does anyone have objections to the following patch? > > > >It restricts the values that can be loaded into the FS.base and > >GS.base MSRs for user processes to those inside of user VA > >(0..(1<<47) today). > > > >These values are used as the base addresses for FS- and GS- > >relative addressing, when a FS: or GS: segment override > >is specified in an instruction. > > _______________________________________________ > freebsd-amd64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 > To unsubscribe, send any mail to > "freebsd-amd64-unsubscribe@freebsd.org" -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5