Date: Sat, 9 Jul 2005 18:20:41 -0700 From: Peter Wemm <peter@wemm.org> To: freebsd-amd64@freebsd.org Subject: Re: [patch] restrict amd64_set_{f, g}sbase() to values inside user VA Message-ID: <200507091820.42452.peter@wemm.org> In-Reply-To: <42CFDE9F.9050202@freebsd.org> References: <84dead720507082349d02ece0@mail.gmail.com> <42CFDE9F.9050202@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507091820.42452.peter>