mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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:
1 parent
2220131142
commit
cd5cf5efb2
1 file changed
+1
-1
@@ -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 )
|
||||
{
|
||||
|
||||