xend, acm: Put the __UNLABELED__ label into the mapfile if policy specifies it
authorKeir Fraser <keir@xensource.com>
Thu, 25 Oct 2007 08:24:28 +0000 (09:24 +0100)
committerKeir Fraser <keir@xensource.com>
Thu, 25 Oct 2007 08:24:28 +0000 (09:24 +0100)
commit40a0c5900b4a3c367f6d30f51a667b0b8e1ce3ba
treeeed8f996e822ae82036f9005ff4c895f468305a5
parent9c14bd95969367b75971d89537bbf1edfba18475
xend, acm: Put the __UNLABELED__ label into the mapfile if policy specifies it

Put the __UNLABELED__ label into the mapfile if policy specifies this
label rather than keeping the NULL_LABEL there. Also lock the map file
when it's rewritten and propagate the return code from compiling the
policy to callers.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
tools/python/xen/util/acmpolicy.py