aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xenctrl.h
diff options
context:
space:
mode:
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>2012-02-06 05:07:20 -0800
committerDaniel De Graaf <dgdegra@tycho.nsa.gov>2012-02-06 05:07:20 -0800
commit9ea4c2df1542d65001187361bbc968d4f91eda5c (patch)
treefd1094137dd3a0a6653cff2b185fa481906ba08b /tools/libxc/xenctrl.h
parente012ef393b73d499497d146696cfec5dda28cf89 (diff)
downloadxen-9ea4c2df1542d65001187361bbc968d4f91eda5c.tar.gz
xen-9ea4c2df1542d65001187361bbc968d4f91eda5c.tar.bz2
xen-9ea4c2df1542d65001187361bbc968d4f91eda5c.zip
flask: Update flask_op hypercall structure
Instead of placing string parsing inside the hypervisor, use binary structures like other Xen hypercalls do. Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov> Committed-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'tools/libxc/xenctrl.h')
-rw-r--r--tools/libxc/xenctrl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/libxc/xenctrl.h b/tools/libxc/xenctrl.h
index 5671194bd7..e6fd488af8 100644
--- a/tools/libxc/xenctrl.h
+++ b/tools/libxc/xenctrl.h
@@ -1326,7 +1326,7 @@ int xc_sysctl(xc_interface *xch, struct xen_sysctl *sysctl);
int xc_version(xc_interface *xch, int cmd, void *arg);
-int xc_flask_op(xc_interface *xch, flask_op_t *op);
+int xc_flask_op(xc_interface *xch, xen_flask_op_t *op);
/*
* Subscribe to state changes in a domain via evtchn.
@@ -1974,7 +1974,7 @@ int xc_flask_access(xc_interface *xc_handle, const char *scon, const char *tcon,
uint32_t *auditallow, uint32_t *auditdeny,
uint32_t *seqno);
int xc_flask_avc_cachestats(xc_interface *xc_handle, char *buf, int size);
-int xc_flask_policyvers(xc_interface *xc_handle, char *buf, int size);
+int xc_flask_policyvers(xc_interface *xc_handle);
int xc_flask_avc_hashstats(xc_interface *xc_handle, char *buf, int size);
int xc_flask_getavc_threshold(xc_interface *xc_handle);
int xc_flask_setavc_threshold(xc_interface *xc_handle, int threshold);