[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 3cccc8697a13d1f7f9f552ccdde79a6b76d34517
# Parent  faaa8256558bd6a884264e57c64fa93387797797
[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
<http://xenbits.xensource.com/xen-unstable.hg?cs=ad22c711ccb7>.

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

diff -r faaa8256558b -r 3cccc8697a13 tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py       Sat Oct 28 17:12:04 2006 +0100
+++ b/tools/python/xen/xm/main.py       Tue Oct 03 10:48:07 2006 +0100
@@ -1261,7 +1261,7 @@ def parse_block_configuration(args):
         label = security.get_security_printlabel(dominfo)
     else:
         label = None
-        security.res_security_check(args[1], label)
+    security.res_security_check(args[1], label)
 
     return (dom, vbd)
 

_______________________________________________
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®.