[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xsm: A few hacks to get XSM-disabled (aka dummy) mode working.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1220542178 -3600 # Node ID 392b04ccaf3c3be6efda73ae75b0af386920bf20 # Parent ae9b223a675d9ed37cffbc24d0abe83ef2a30ab3 xsm: A few hacks to get XSM-disabled (aka dummy) mode working. Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- tools/python/xen/util/xsconstants.py | 4 ++-- tools/python/xen/util/xsm/dummy/dummy.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff -r ae9b223a675d -r 392b04ccaf3c tools/python/xen/util/xsconstants.py --- a/tools/python/xen/util/xsconstants.py Thu Sep 04 14:38:26 2008 +0100 +++ b/tools/python/xen/util/xsconstants.py Thu Sep 04 16:29:38 2008 +0100 @@ -20,9 +20,9 @@ XS_INST_BOOT = (1 << 0) XS_INST_BOOT = (1 << 0) XS_INST_LOAD = (1 << 1) -XS_POLICY_DUMMY = 0 XS_POLICY_ACM = (1 << 0) XS_POLICY_FLASK = (1 << 1) +XS_POLICY_DUMMY = (1 << 2) XS_POLICY_USE = 0 # Some internal variables used by the Xen-API @@ -109,6 +109,6 @@ ACM_POLICY_ID = 'ACM' INVALID_POLICY_PREFIX = 'INV_' -INVALID_SSIDREF = 0xFFFFFFFF +INVALID_SSIDREF = 0xFFFFFFFFL XS_INACCESSIBLE_LABEL = '__INACCESSIBLE__' diff -r ae9b223a675d -r 392b04ccaf3c tools/python/xen/util/xsm/dummy/dummy.py --- a/tools/python/xen/util/xsm/dummy/dummy.py Thu Sep 04 14:38:26 2008 +0100 +++ b/tools/python/xen/util/xsm/dummy/dummy.py Thu Sep 04 16:29:38 2008 +0100 @@ -36,7 +36,7 @@ def err(msg): raise XSMError(msg) def on(): - return xsconstants.XS_POLICY_DUMMY + return 0 def ssidref2label(ssidref): return 0 _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |