ia64/xen-unstable

changeset 18494:59aba2cbbb58

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@alpha.ncsc.mil>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Sep 15 11:36:20 2008 +0100 (2008-09-15)
parents 01fb29f72832
children 75c4a603d9cd
files tools/python/xen/util/xsm/dummy/dummy.py
line diff
     1.1 --- a/tools/python/xen/util/xsm/dummy/dummy.py	Mon Sep 15 11:35:20 2008 +0100
     1.2 +++ b/tools/python/xen/util/xsm/dummy/dummy.py	Mon Sep 15 11:36:20 2008 +0100
     1.3 @@ -131,3 +131,6 @@ def dump_policy_file():
     1.4  
     1.5  def get_ssid(domain):
     1.6      err("No ssid has been assigned to any domain under xsm dummy module.")
     1.7 +
     1.8 +def security_label_to_details(res_label):
     1.9 +    return ("","","")