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] xsm: dummy module - implement missing stu

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xsm: dummy module - implement missing stub
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 16 Sep 2008 06:01:12 -0700
Delivery-date: Tue, 16 Sep 2008 06:03:40 -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 1221474980 -3600
# Node ID 59aba2cbbb58111de1aba6b173800d62956cf26f
# Parent  01fb29f7283247951bb822684febbf20ecbaed45
xsm: dummy module - implement missing stub

- This minor patch implements the missing stub function
security_label_to_details in the dummy module.  This stub function is
necessary to create domains with network interfaces for modules that
do not implement the security_label_to_details function.

Signed-off-by: George Coker <gscoker@xxxxxxxxxxxxxx>
 tools/python/xen/util/xsm/dummy/dummy.py |    3 +++
 1 files changed, 3 insertions(+)

diff -r 01fb29f72832 -r 59aba2cbbb58 tools/python/xen/util/xsm/dummy/dummy.py
--- a/tools/python/xen/util/xsm/dummy/dummy.py  Mon Sep 15 11:35:20 2008 +0100
+++ b/tools/python/xen/util/xsm/dummy/dummy.py  Mon Sep 15 11:36:20 2008 +0100
@@ -131,3 +131,6 @@ def dump_policy_file():
 def get_ssid(domain):
     err("No ssid has been assigned to any domain under xsm dummy module.")
+def security_label_to_details(res_label):
+    return ("","","")

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xsm: dummy module - implement missing stub, Xen patchbot-unstable <=