Skip to contentSkip to conversation

Add 2 permissions to the default flask policy to get a VIF-enabled guest to work

PATCH New Stefan Berger 1 participant 1 message Oct 7, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add 2 permissions to the default flask policy to get a VIF-enabled guest to work

This adds two more permissions to the default Flask policy to get a VM with a network interface to work.

tools/flask/policy/policy/modules/xen/xen.te +3 -0
diff -r 782599274bf9 tools/flask/policy/policy/modules/xen/xen.te
@@ -110,6 +110,9 @@
 create_channel(domU_t, dom0_t, evchnU-0_t)
 allow domU_t evchnU-0_t:event {send};
 
+allow dom0_t dom0_t:event {send};
+allow dom0_t domU_t:grant {copy};
+
 manage_domain(dom0_t, domU_t)
 
 ################################################################################

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel