From: Reiner Sailer <sailer@us.ibm.com>
To: xen-devel@lists.xensource.com
Cc: atse@xensource.com, "Bryan D. Payne" <bryan@thepaynes.cc>,
Reiner Sailer <sailer@us.ibm.com>
Subject: [IMPORTANT BUGFIX][ACM][XM] FIX essential security check in block-attach / indentation problem introduced in change set changeset 11572
Date: Mon, 02 Oct 2006 23:47:28 -0400 [thread overview]
Message-ID: <4521DD50.5060308@us.ibm.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 548 bytes --]
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>.
This patch is essential and should get into 3.0.3. I tested the patch
with security off and on.
Thanks
Reiner
P.S. We are currently enhancing xm-test to include security tests so
that we can detect simple things like this faster.
Signed-off by: Reiner Sailer <sailer@us.ibm.com>
[-- Attachment #2: block_attach_acm_fix.diff --]
[-- Type: text/plain, Size: 616 bytes --]
---
tools/python/xen/xm/main.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: xen-unstable.hg-shype/tools/python/xen/xm/main.py
===================================================================
--- xen-unstable.hg-shype.orig/tools/python/xen/xm/main.py
+++ xen-unstable.hg-shype/tools/python/xen/xm/main.py
@@ -1222,7 +1222,8 @@ 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)
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next reply other threads:[~2006-10-03 3:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-03 3:47 Reiner Sailer [this message]
2006-10-03 9:59 ` [IMPORTANT BUGFIX][ACM][XM] FIX essential security check in block-attach / indentation problem introduced in change set changeset 11572 Alastair Tse
2006-10-03 19:42 ` Stefan Berger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4521DD50.5060308@us.ibm.com \
--to=sailer@us.ibm.com \
--cc=atse@xensource.com \
--cc=bryan@thepaynes.cc \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.