[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xsm: Corrected check in io_has_perm()
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1256289172 -3600 # Node ID f760735bbcdf44b0b189ec79c6015f5267ae23dc # Parent 51b031b0737e4371ec2a3e1f37835e7c017d6537 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/xsm/flask/hooks.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 51b031b0737e -r f760735bbcdf xen/xsm/flask/hooks.c --- a/xen/xsm/flask/hooks.c Fri Oct 23 10:11:52 2009 +0100 +++ b/xen/xsm/flask/hooks.c Fri Oct 23 10:12:52 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |