flask/policy: device model stubdom fixes
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.
Signed-off-by Daniel De Graaf <[email protected]>
--- 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
@@ -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
Quoted 5 lines · Daniel De Graaf
This fixes framebuffer support for device model stubdoms after
3f28d007which added thetarget_hackpermission but did not allow the permission to the stubdom it was created for.Signed-off-by Daniel De Graaf <[email protected]>
Acked-by Ian Campbell <[email protected]>
I wasn't sure who was supposed to commit this, but I've done it...
Ian.