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@alpha.ncsc.mil>
Signed-off-by : Paul Nuzzi <pjnuzzi@tycho.ncsc.mil>
This commit is contained in:
Keir Fraser committed 2009-10-23 10:12:52 +01:00
1 parent 2220131142
commit cd5cf5efb2
1 file changed
+1 -1
+1 -1
View File
@@ -1176,7 +1176,7 @@ static int io_has_perm(struct domain *d, char *name, unsigned long s,
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 )
{
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.