[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xsm: dummy module - implement missing stub



# 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
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.