Machon Gregory
2009-Oct-21 15:58 UTC
[Xen-devel] [Patch] tools/ Adds getenforce and setenforce functionality to Xen toolchain
This patch exposes the getenforce and setenforce functionality for the Flask XSM module. Signed-off-by : Machon Gregory <mbgrego@tycho.ncsc.mil> Signed-off-by : George S. Coker, II <gscoker@alpha.ncsc.mil> --- tools/flask/Makefile | 2 tools/flask/libflask/flask_op.c | 39 +++++++++ tools/flask/libflask/include/flask.h | 2 tools/flask/loadpolicy/Makefile | 57 ------------- tools/flask/loadpolicy/loadpolicy.c | 129 ------------------------------- tools/flask/utils/Makefile | 54 ++++++++++++ tools/flask/utils/getenforce.c | 66 +++++++++++++++ tools/flask/utils/loadpolicy.c | 129 +++++++++++++++++++++++++++++++ tools/flask/utils/setenforce.c | 73 +++++++++++++++++ tools/python/xen/lowlevel/flask/flask.c | 66 +++++++++++++++ tools/python/xen/util/xsm/flask/flask.py | 11 ++ tools/python/xen/xend/XendXSPolicy.py | 12 ++ tools/python/xen/xm/getenforce.py | 66 +++++++++++++++ tools/python/xen/xm/main.py | 23 ++++- tools/python/xen/xm/setenforce.py | 74 +++++++++++++++++ 15 files changed, 608 insertions(+), 195 deletions(-) -- Machon Gregory National Information Assurance Research Lab (NIARL) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel