WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel][XSM][PATCH] XSM python tools patch - remove autogenerated xs

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel][XSM][PATCH] XSM python tools patch - remove autogenerated xsm.py
From: "George S. Coker, II" <gscoker@xxxxxxxxxxxxxx>
Date: Wed, 03 Sep 2008 18:35:03 -0400
Delivery-date: Wed, 03 Sep 2008 15:37:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckOFU5yjNpbt3oIEd2qjwAWy5GONg==
Thread-topic: [Xen-devel][XSM][PATCH] XSM python tools patch - remove autogenerated xsm.py
User-agent: Microsoft-Entourage/11.4.0.080122
- The patch does away with the autogenerated xsm.py file and introduces a
config parameter in xend-config.sxp to determine the security module.  The
parameter is (xsm_module_name {acm, dummy, flask}).  The default
setting/option is dummy.  .hgignore is also updated to stop ignoring xsm.py
on commits.

- The patch has created an xsconstant for XS_POLICY_FLASK and updated the
toolchain to check the instance of XS_POLICY_USE.  XS_POLICY_USE evalauates
to XS_POLICY_FLASK or XS_POLICY_ACM or XS_POLICY_DUMMY depending on
configuration.

- Flask relies on the current value of ssidref returned by dominfo to ensure
that the label to sid mapping is consistent.  ssidref had been pop'ed from
the dominfo object.  The patch addresses this issue.

- Flask python module style cleanups.

Signed-off-by: George Coker <gscoker@xxxxxxxxxxxxxx>

Attachment: xsm-tools-update-090308.diff
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel][XSM][PATCH] XSM python tools patch - remove autogenerated xsm.py, George S. Coker, II <=