ia64/xen-unstable

changeset 12183:3cccc8697a13

[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@us.ibm.com>
author Alastair Tse <atse@xensource.com>
date Tue Oct 03 10:48:07 2006 +0100 (2006-10-03)
parents faaa8256558b
children 8a0274d6eebc
files tools/python/xen/xm/main.py
line diff
     1.1 --- a/tools/python/xen/xm/main.py	Sat Oct 28 17:12:04 2006 +0100
     1.2 +++ b/tools/python/xen/xm/main.py	Tue Oct 03 10:48:07 2006 +0100
     1.3 @@ -1261,7 +1261,7 @@ def parse_block_configuration(args):
     1.4          label = security.get_security_printlabel(dominfo)
     1.5      else:
     1.6          label = None
     1.7 -        security.res_security_check(args[1], label)
     1.8 +    security.res_security_check(args[1], label)
     1.9  
    1.10      return (dom, vbd)
    1.11