From: Stefan Berger Subject: [PATCH] [Flask] Add 2 permissions to the default flask policy to get a VIF-enabled guest to work Date: Tue, 07 Oct 2008 15:29:54 -0400 Message-ID: <1223407794.17405.3.camel@gsal-3.watson.ibm.com> Reply-To: stefanb@us.ibm.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-Obs73YhOtLXUl6FgNaFL" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel Cc: Keir Fraser , gscoker@alpha.nscs.mil List-Id: xen-devel@lists.xenproject.org --=-Obs73YhOtLXUl6FgNaFL Content-Type: text/plain Content-Transfer-Encoding: 7bit This adds two more permissions to the default Flask policy to get a VM with a network interface to work. Signed-off-by: Stefan Berger --=-Obs73YhOtLXUl6FgNaFL Content-Disposition: attachment; filename=xsm_flask_default_policy_fix_network.diff Content-Type: text/x-patch; name=xsm_flask_default_policy_fix_network.diff; charset=UTF-8 Content-Transfer-Encoding: 7bit diff -r 782599274bf9 tools/flask/policy/policy/modules/xen/xen.te --- a/tools/flask/policy/policy/modules/xen/xen.te Tue Sep 30 10:14:54 2008 +0100 +++ b/tools/flask/policy/policy/modules/xen/xen.te Tue Oct 07 15:22:43 2008 -0400 @@ -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) ################################################################################ --=-Obs73YhOtLXUl6FgNaFL Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=-Obs73YhOtLXUl6FgNaFL--