]> xenbits.xensource.com Git - xen.git/commit
[XM][ACM] Add xm subcommands to work with security resource labels.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 10 Jul 2006 16:18:07 +0000 (17:18 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 10 Jul 2006 16:18:07 +0000 (17:18 +0100)
commita30dab89d4d92ceced2733f15e9ab49d444180b7
treedbe6cc81a6c201ec27ecd576b0a357c02611935e
parent5376f076cd41eefd4623a1a0d7cb53ac8211dba5
[XM][ACM] Add xm subcommands to work with security resource labels.

This patch adds new xm subcommands to support working with resource
labels.  The new subcommands are 'xm resources', 'xm rmlabel', 'xm
getlabel' and 'xm dry-run'.  In addition, the 'xm addlabel' subcommand
now uses an updated syntax to support labeling both domains and
resources.  See the xm man page for details on each subcommand.

Beyond the new subcommands, this patch allows users to immediately see
when security checks will fail by pushing some basic security checking
into the beginning of 'xm create' and 'xm block-attach'.  ACM security
attributes for block devices are added to XenStore in order to support
the final security enforcement, which will be performed in the kernel
and included in a separate patch.

Signed-off-by: Bryan D. Payne <bdpayne@us.ibm.com>
Signed-off-by: Reiner Sailer <sailer@us.ibm.com>
tools/python/xen/util/dictio.py [new file with mode: 0644]
tools/python/xen/util/security.py
tools/python/xen/xend/server/blkif.py
tools/python/xen/xm/addlabel.py
tools/python/xen/xm/create.py
tools/python/xen/xm/dry-run.py [new file with mode: 0644]
tools/python/xen/xm/getlabel.py [new file with mode: 0644]
tools/python/xen/xm/main.py
tools/python/xen/xm/resources.py [new file with mode: 0644]
tools/python/xen/xm/rmlabel.py [new file with mode: 0644]