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] [xen-unstable] i386: Remove unnecessary, and broken, ad

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] i386: Remove unnecessary, and broken, address check I added to seg
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 22 Nov 2007 12:00:44 -0800
Delivery-date: Thu, 22 Nov 2007 12:03:05 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1195646420 0
# Node ID 6301c3b6e1baa09a43c0df21e03ad544327b0810
# Parent  81aa410fa66242ce6f4b5781b64dc4fe896b4cfd
i386: Remove unnecessary, and broken, address check I added to seg
fixup code. Oops.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
---
 xen/arch/x86/x86_32/seg_fixup.c |    4 ----
 1 files changed, 4 deletions(-)

diff -r 81aa410fa662 -r 6301c3b6e1ba xen/arch/x86/x86_32/seg_fixup.c
--- a/xen/arch/x86/x86_32/seg_fixup.c   Wed Nov 21 11:49:41 2007 +0000
+++ b/xen/arch/x86/x86_32/seg_fixup.c   Wed Nov 21 12:00:20 2007 +0000
@@ -216,10 +216,6 @@ static int linearise_address(u16 seg, un
 
     *linear = base + off;
 
-    /* Conservatively check 32 bytes from returned linear base. */
-    if ( !access_ok(linear, 32) )
-        return 0;
-
     return 1;
 }
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] i386: Remove unnecessary, and broken, address check I added to seg, Xen patchbot-unstable <=