From: Stefan Berger Subject: [PATCH] [ACM] Restriction to the policy XML Date: Tue, 31 Mar 2009 18:15:29 -0400 Message-ID: <1238537729.3835.1.camel@gsal-3.watson.ibm.com> Reply-To: stefanb@us.ibm.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-vwLf8gfoYkc7TNcMJeIO" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel Cc: Keir Fraser List-Id: xen-devel@lists.xenproject.org --=-vwLf8gfoYkc7TNcMJeIO Content-Type: text/plain Content-Transfer-Encoding: 7bit Restrict the XML of the policy to only allow one SimpleTypeEnforcementType node. Signed-off-by: Stefan Berger --=-vwLf8gfoYkc7TNcMJeIO Content-Disposition: attachment; filename=acmpolicy_schema_restrict.diff Content-Type: text/x-patch; name=acmpolicy_schema_restrict.diff; charset=UTF-8 Content-Transfer-Encoding: 7bit Index: root/xen-unstable.hg/tools/python/xen/util/acmpolicy.py =================================================================== --- root.orig/xen-unstable.hg/tools/python/xen/util/acmpolicy.py +++ root/xen-unstable.hg/tools/python/xen/util/acmpolicy.py @@ -216,7 +216,7 @@ ACM_SCHEMA=""" - + --=-vwLf8gfoYkc7TNcMJeIO Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=-vwLf8gfoYkc7TNcMJeIO--