mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
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>
31 lines
1.1 KiB
Python
31 lines
1.1 KiB
Python
#!/usr/bin/python
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2 of the License,
|
|
# or (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
#
|
|
|
|
from distutils.core import setup
|
|
import os
|
|
|
|
# This setup script is invoked from the parent directory, so base
|
|
# everything as if executing from there.
|
|
XEN_ROOT = "../.."
|
|
|
|
setup(name = 'xensec_gen',
|
|
version = '3.0',
|
|
description = 'Xen XML Security Policy Generator',
|
|
package_dir = { 'xen' : 'python' },
|
|
packages = ['xen.xensec_gen'],
|
|
)
|