Skip to contentSkip to conversation

PATCH [4/4] sHype/ACM User Guide/Simple policy creation tool

PATCH Reiner Sailer 1 participant 1 message Jul 31, 2006

lore
Share & tools
lore
#0 lore raw

This patch includes a wxPython GUI tool for sHype/ACM in Xen. It is used and described in the user guide to demonstrate how to quickly create, enforce, and test workload protection policies in Xen. The tool is aimed to improve usability of sHype/ACM for Xen.It is included in a single file to make it easy to try it out on different platforms (it inherits the look and feel of the base platform). It is tested on Linux and Windows. Please read the new user guide section about how to start and use the tool (section 10.2).

Requirements: python (www.python.org), wxPython (www.wxpython.org or try 'yum install wxPython'). Feedback especially regarding usability is welcome.

Reiner

Signed-off by: Reiner Sailer <[email protected]>

---
 tools/security/Makefile        |    2 
 tools/security/xensec_ezpolicy | 1628 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 1630 insertions(+)
tools/security/Makefile +2 -0
Index: xen-unstable.hg-ezpolicy/tools/security/Makefile
===================================================================
@@ -32,6 +32,7 @@ SRCS_XML2BIN  = secpol_xml2bin.c secpol_
 OBJS_XML2BIN := $(patsubst %.c,%.o,$(filter %.c,$(SRCS_XML2BIN)))
 
 ACM_INST_TOOLS    = xensec_tool xensec_xml2bin xensec_gen
+ACM_EZPOLICY      = xensec_ezpolicy
 ACM_OBJS          = $(OBJS_TOOL) $(OBJS_XML2BIN) $(OBJS_GETD)
 ACM_SCRIPTS       = python/xensec_tools/acm_getlabel
 
@@ -56,6 +57,7 @@ all: build
 install: all $(ACM_CONFIG_FILE)
 	$(INSTALL_DIR) -p $(DESTDIR)/usr/sbin
 	$(INSTALL_PROG) -p $(ACM_INST_TOOLS) $(DESTDIR)/usr/sbin
+	$(INSTALL_PROG) -p $(ACM_EZPOLICY) $(DESTDIR)/usr/sbin
 	$(INSTALL_DIR) -p $(DESTDIR)$(ACM_CONFIG_DIR)
 	$(INSTALL_DIR) -p $(DESTDIR)$(ACM_POLICY_DIR)
 	$(INSTALL_DATA) -p policies/$(ACM_SCHEMA) $(DESTDIR)$(ACM_POLICY_DIR)
tools/security/xensec_ezpolicy new file +1628 -0

1,628 lines not on this page · raw message

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel