From: Keir Fraser Date: Mon, 15 Sep 2008 10:36:20 +0000 (+0100) Subject: xsm: dummy module - implement missing stub X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14110^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6266fa7f2477589319a7abc1471b01b8b1d17a7b;p=xen.git 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 --- diff --git a/tools/python/xen/util/xsm/dummy/dummy.py b/tools/python/xen/util/xsm/dummy/dummy.py index b82e1b9ff5..795d637df7 100644 --- a/tools/python/xen/util/xsm/dummy/dummy.py +++ b/tools/python/xen/util/xsm/dummy/dummy.py @@ -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 ("","","")