aboutsummaryrefslogtreecommitdiffstats
path: root/xen/xsm/dummy.c
diff options
context:
space:
mode:
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>2011-12-18 14:33:19 +0000
committerDaniel De Graaf <dgdegra@tycho.nsa.gov>2011-12-18 14:33:19 +0000
commit4c1b911bbcd97fb68b4a9e0903a6644e50adda01 (patch)
treeced092f6dc59142d3362611e9acf117ffc250363 /xen/xsm/dummy.c
parentd55b4c2dc629e9460d72c17bb2b0fa2028123199 (diff)
downloadxen-4c1b911bbcd97fb68b4a9e0903a6644e50adda01.tar.gz
xen-4c1b911bbcd97fb68b4a9e0903a6644e50adda01.tar.bz2
xen-4c1b911bbcd97fb68b4a9e0903a6644e50adda01.zip
xsm: add remote_remap permission
The mmu_update hypercall can be used to manipulate the page tables of a remote domain. Add a check for this in the XSM hook in addition to the existing check on mapping pages of a remote domain. Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Diffstat (limited to 'xen/xsm/dummy.c')
-rw-r--r--xen/xsm/dummy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/xsm/dummy.c b/xen/xsm/dummy.c
index d6f2da023f..7066dfb5b1 100644
--- a/xen/xsm/dummy.c
+++ b/xen/xsm/dummy.c
@@ -399,8 +399,8 @@ static int dummy_domain_memory_map (struct domain *d)
return 0;
}
-static int dummy_mmu_normal_update (struct domain *d, struct domain *f,
- intpte_t fpte)
+static int dummy_mmu_normal_update (struct domain *d, struct domain *t,
+ struct domain *f, intpte_t fpte)
{
return 0;
}