ia64/xen-unstable

view tools/security/xensec_gen.py @ 8341:269abc1e4fa5

A new ACM security tool providing support to aid in the
creation/generation of the XML security policy files for the Xen ACM
security architecture. It is a python- based, web-based tool named
xensec_gen that allows users to create or modify XML policy files
through a browser. The resulting XML policy files can then be copied
or moved to the appropriate location in the /etc/xen/acm-security
directory structure in order to be translated into binary and used
within the Xen system.

Signed-off-by: Tom Lendacky <toml@us.ibm.com>
author kaf24@firebug.cl.cam.ac.uk
date Tue Dec 13 17:12:59 2005 +0100 (2005-12-13)
parents
children 0e24e9674ded
line source
1 #!/usr/bin/python
2 #
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License,
6 # or (at your option) any later version.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16 #
18 import sys
20 # Add fallback path for non-native python path installs if needed
21 sys.path.append( '/usr/lib/python' )
22 sys.path.append( '/usr/lib64/python' )
24 from xen.xensec_gen import main
26 main.main( )