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

[Xen-changelog] [xen-unstable] i386: Remove unnecessary, and broken, address check I added to seg



# 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


 


Rackspace

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