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

[Xen-changelog] [xen-unstable] [XM] Fix missing security check in block-attach

# HG changeset patch
# User Alastair Tse <atse@xxxxxxxxxxxxx>
# Node ID 51fa58f0583bd72d68b04c9e2ec5ea0fafb40c18
# Parent  f426f6e646eb88d143b44f0b60fe1a3f83201509
[XM] Fix missing security check in block-attach

This patch fixes an indentation error in main.py. The effect of this
bug is that block-attach does not check labels if the ACM is
active. This bug slipped in with change set 11572_:_ ad22c711ccb7

Signed-off by: Reiner Sailer <sailer@xxxxxxxxxx>
 tools/python/xen/xm/main.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r f426f6e646eb -r 51fa58f0583b tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py       Mon Oct 02 18:04:56 2006 +0100
+++ b/tools/python/xen/xm/main.py       Tue Oct 03 10:48:07 2006 +0100
@@ -1222,7 +1222,7 @@ def parse_block_configuration(args):
         label = security.get_security_printlabel(dominfo)
         label = None
-        security.res_security_check(args[1], label)
+    security.res_security_check(args[1], label)
     return (dom, vbd)

Xen-changelog mailing list



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