diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-08-31 11:41:49 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-08-31 11:41:49 +0100 |
commit | 670a6002b949ebb60f7cb3e5d950e163d9314859 (patch) | |
tree | ffbe7deab63545d3bec5a41d750f4163908a5cbd /tools | |
parent | d89af6295418a0aeccfbfffd840e2cc097744bc1 (diff) | |
download | xen-670a6002b949ebb60f7cb3e5d950e163d9314859.tar.gz xen-670a6002b949ebb60f7cb3e5d950e163d9314859.tar.bz2 xen-670a6002b949ebb60f7cb3e5d950e163d9314859.zip |
Xen Security Modules: ACM.
Signed-off-by: George Coker <gscoker@alpha.ncsc.mil>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/flask/loadpolicy/flask-loadpolicy | bin | 0 -> 17156 bytes | |||
-rw-r--r-- | tools/libxc/xc_acm.c | 2 | ||||
-rw-r--r-- | tools/python/xen/util/xsm/xsm.py | 9 |
3 files changed, 10 insertions, 1 deletions
diff --git a/tools/flask/loadpolicy/flask-loadpolicy b/tools/flask/loadpolicy/flask-loadpolicy Binary files differnew file mode 100755 index 0000000000..61a0c80b33 --- /dev/null +++ b/tools/flask/loadpolicy/flask-loadpolicy diff --git a/tools/libxc/xc_acm.c b/tools/libxc/xc_acm.c index baa2002a19..b4d89d015f 100644 --- a/tools/libxc/xc_acm.c +++ b/tools/libxc/xc_acm.c @@ -81,7 +81,7 @@ int xc_acm_op(int xc_handle, int cmd, void *arg, unsigned long arg_size) acmctl.cmd = cmd; acmctl.interface_version = ACM_INTERFACE_VERSION; - hypercall.op = __HYPERVISOR_acm_op; + hypercall.op = __HYPERVISOR_xsm_op; hypercall.arg[0] = (unsigned long)&acmctl; if ( lock_pages(&acmctl, sizeof(acmctl)) != 0) { diff --git a/tools/python/xen/util/xsm/xsm.py b/tools/python/xen/util/xsm/xsm.py new file mode 100644 index 0000000000..92b8c3061b --- /dev/null +++ b/tools/python/xen/util/xsm/xsm.py @@ -0,0 +1,9 @@ +XEN_SECURITY_MODULE = "flask" +from xsm_core import * + +import xen.util.xsm.flask.flask as xsm_module + +xsm_init(xsm_module) +from xen.util.xsm.flask.flask import * +del xsm_module + |