WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Fix canonicalising linear base address in set_segment_ba

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Fix canonicalising linear base address in set_segment_base hypercall.
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Tue, 05 Apr 2005 15:53:37 +0000
Delivery-date: Tue, 05 Apr 2005 16:23:30 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix canonicalising linear base address in set_segment_base hypercall., BitKeeper Bot <=