]> xenbits.xensource.com Git - xen.git/commit
ACM: Put hash of XML policy into binary policy to tie them together
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 23 Apr 2008 12:29:09 +0000 (13:29 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 23 Apr 2008 12:29:09 +0000 (13:29 +0100)
commita7f2eeb89898d27ee170e5ae8b50aa43b8026fd3
tree0d35d1fc95e82cea503c2a883934c8582181f14e
parent10ab43fd56e729da8f264e3c3da4b4510bfa0460
ACM: Put hash of XML policy into binary policy to tie them together

This patch extends the ACM binary policy format with an embedded hash
of the corresponding XML policy in order to tie them together. This
allows xend to determine whether it has the correct XML policy in its
repository and react appropriately if it does not have it.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
tools/python/xen/util/acmpolicy.py
tools/python/xen/xend/XendXSPolicyAdmin.py
xen/include/public/xsm/acm.h
xen/include/xsm/acm/acm_core.h
xen/xsm/acm/acm_policy.c