Skip to contentSkip to conversation

flask/policy: device model stubdom fixes

PATCH In review Daniel De Graaf 2 participants 2 messages May 30, 2013 – Jun 12, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 flask/policy: device model stubdom fixes

This fixes framebuffer support for device model stubdoms after 3f28d007 which added the target_hack permission but did not allow the permission to the stubdom it was created for.

---
 tools/flask/policy/policy/modules/xen/xen.if | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/flask/policy/policy/modules/xen/xen.if +1 -1
index c86a618..97af0a8 100644
@@ -143,7 +143,7 @@ define(`device_model', `
 	allow $1 $2_channel:event create;
 
 	allow $1 $2_target:domain shutdown;
-	allow $1 $2_target:mmu { map_read map_write adjust physmap };
+	allow $1 $2_target:mmu { map_read map_write adjust physmap target_hack };
 	allow $1 $2_target:hvm { getparam setparam trackdirtyvram hvmctl irqlevel pciroute cacheattr send_irq };
 ')
 
Signature · 1 line
1.8.1.4