- add python security management tools
PATCH 1/1 - add python security management tools
This patch adds new python access control management scripts, which integrate into Xen Management and which support the new access control labels (labels replace the ssidref numbers at the management user interface).
Signed-off by: Reiner Sailer <[email protected]>
--- tools/python/setup.py | 9 tools/python/xen/lowlevel/acm/acm.c | 237 +++++++++ tools/python/xen/util/security.py | 504 +++++++++++++++++++++ tools/python/xen/xm/addlabel.py | 76 +++ tools/python/xen/xm/cfgbootpolicy.py | 188 +++++++ tools/python/xen/xm/dumppolicy.py | 49 ++ tools/python/xen/xm/labels.py | 85 +++ tools/python/xen/xm/loadpolicy.py | 51 ++ tools/python/xen/xm/makepolicy.py | 53 ++ tools/security/python/xensec_tools/acm_getdecision | 55 ++ tools/security/python/xensec_tools/acm_getlabel | 48 ++ 11 files changed, 1354 insertions(+), 1 deletion(-)
tools/python/setup.py +8 -1
@@ -31,6 +31,13 @@ xs = Extension("xs", libraries = libraries, sources = [ "xen/lowlevel/xs/xs.c" ]) +acm = Extension("acm", + extra_compile_args = extra_compile_args, + include_dirs = include_dirs + [ "xen/lowlevel/acm" ], + library_dirs = library_dirs, + libraries = libraries, + sources = [ "xen/lowlevel/acm/acm.c" ]) + setup(name = 'xen', version = '3.0', description = 'Xen',
@@ -50,7 +57,7 @@ setup(name = 'xen', 'xen.xm.tests' ], ext_package = "xen.lowlevel", - ext_modules = [ xc, xs ] + ext_modules = [ xc, xs, acm ] ) os.chdir('logging')
tools/python/xen/lowlevel/acm/acm.c new file +237 -0
237 lines not on this page · raw message
tools/python/xen/util/security.py new file +504 -0
504 lines not on this page · raw message
tools/python/xen/xm/addlabel.py new file +76 -0
76 lines not on this page · raw message
tools/python/xen/xm/cfgbootpolicy.py new file +188 -0
188 lines not on this page · raw message
tools/python/xen/xm/dumppolicy.py new file +49 -0
49 lines not on this page · raw message
tools/python/xen/xm/labels.py new file +85 -0
85 lines not on this page · raw message
tools/python/xen/xm/loadpolicy.py new file +51 -0
51 lines not on this page · raw message
tools/python/xen/xm/makepolicy.py new file +53 -0
53 lines not on this page · raw message
tools/security/python/xensec_tools/acm_getdecision new file +55 -0
55 lines not on this page · raw message
tools/security/python/xensec_tools/acm_getlabel new file +48 -0
48 lines not on this page · raw message
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel