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-3.4-testing] xsm: Corrected check in io_has_perm()

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.4-testing] xsm: Corrected check in io_has_perm()
From: "Xen patchbot-3.4-testing" <patchbot-3.4-testing@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 23 Oct 2009 02:40:45 -0700
Delivery-date: Fri, 23 Oct 2009 02:42:55 -0700
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/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 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.4-testing] xsm: Corrected check in io_has_perm(), Xen patchbot-3.4-testing <=