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

[Xen-changelog] [xen-3.4-testing] xsm: Corrected check in io_has_perm()



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1256290320 -3600
# Node ID 156dde712ec083b37e09415a704b37e510f13764
# Parent  0af17c0535656eab5d9c142e38fe71a873683205
xsm: Corrected check in io_has_perm()

Fix the check in io_has_perm() to correctly check the start and end
of I/O Memory.

Signed-off-by : George Coker <gscoker@xxxxxxxxxxxxxx>
Signed-off-by : Paul Nuzzi <pjnuzzi@xxxxxxxxxxxxxx>
xen-unstable changeset:   20362:f760735bbcdf
xen-unstable date:        Fri Oct 23 10:12:52 2009 +0100
---
 xen/xsm/flask/hooks.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 0af17c053565 -r 156dde712ec0 xen/xsm/flask/hooks.c
--- a/xen/xsm/flask/hooks.c     Fri Oct 23 10:31:38 2009 +0100
+++ b/xen/xsm/flask/hooks.c     Fri Oct 23 10:32:00 2009 +0100
@@ -1176,7 +1176,7 @@ static int io_has_perm(struct domain *d,
             return rc;
 
         if ( s != e )
-            rc = iomem_has_perm(d, s, access);
+            rc = iomem_has_perm(d, e, access);
     }
     else if ( strcmp(name, "Interrupts") == 0 )
     {

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