This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [XM] Fix missing security check in block-attach
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 02 Nov 2006 22:09:47 +0000
Delivery-date: Thu, 02 Nov 2006 21:44:15 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

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)
         label = None
-        security.res_security_check(args[1], label)
+    security.res_security_check(args[1], label)
     return (dom, vbd)

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [XM] Fix missing security check in block-attach, Xen patchbot-unstable <=