This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-changelog] [xen-unstable] flask: Fix to default policy to get simpl

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] flask: Fix to default policy to get simple VM running
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 08 Oct 2008 18:50:17 -0700
Delivery-date: Wed, 08 Oct 2008 18:50:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1223456547 -3600
# Node ID 79ffff76e30027f27300e1c9225834ca88bdcae8
# Parent  78e98657021afff71e34758d01e2ac2d550bae00
flask: Fix to default policy to get simple VM running

This fix gets to the default Flask/XSM policy gets a simple guest VM
(Ramdisk only, no VIF) running.

Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
 tools/flask/policy/policy/modules/xen/xen.te |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 78e98657021a -r 79ffff76e300 
--- a/tools/flask/policy/policy/modules/xen/xen.te      Fri Oct 03 09:42:11 
2008 +0100
+++ b/tools/flask/policy/policy/modules/xen/xen.te      Wed Oct 08 10:02:27 
2008 +0100
@@ -33,7 +33,7 @@ define(`create_domain', `
                                getvcpuinfo getaddrsize getvcpuaffinity};
        allow $1 $2:shadow {enable};
        allow $1 $2:mmu {map_read map_write memorymap adjust pinpage};
-       allow $2 $2:mmu {map_read map_write pinpage};
+       allow $2 $2:mmu {map_read map_write adjust pinpage};
        allow $2 domio_t:mmu {map_read};
        allow $2 $2:grant {query setup};
        allow $1 $2:grant {map_read unmap};

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] flask: Fix to default policy to get simple VM running, Xen patchbot-unstable <=