[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Fix canonicalising linear base address in set_segment_base hypercall.



ChangeSet 1.1274, 2005/04/05 16:53:37+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx

        Fix canonicalising linear base address in set_segment_base hypercall.
        Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>



 mm.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/xen/arch/x86/x86_64/mm.c b/xen/arch/x86/x86_64/mm.c
--- a/xen/arch/x86/x86_64/mm.c  2005-04-05 12:23:34 -04:00
+++ b/xen/arch/x86/x86_64/mm.c  2005-04-05 12:23:34 -04:00
@@ -250,7 +250,7 @@
     struct exec_domain *ed = current;
 
     /* Canonicalise the base address. */
-    base &= VADDR_MASK;
+    base |= ~VADDR_MASK;
 
     switch ( which )
     {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.