[patch] restrict amd64_set_{f,g}sbase() to values inside user VA

David Xu davidxu at freebsd.org
Sat Jul 9 14:26:41 GMT 2005


I had already post similar patch some days ago to re@

David Xu

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.
>  
>


More information about the freebsd-amd64 mailing list