[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel][XSM][PATCH] XSM python tools patch - remove autogenerated xsm.py


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AckOFU5yjNpbt3oIEd2qjwAWy5GONg==
  • Thread-topic: [Xen-devel][XSM][PATCH] XSM python tools patch - remove autogenerated xsm.py

- 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.