diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-01-23 13:22:13 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-01-23 13:22:13 +0000 |
commit | f9f9329313866cffe0e00524592cf765734d3a41 (patch) | |
tree | bb835a42f05839df1244295194b58900637e19fb /tools/xenstore/xenstored_domain.h | |
parent | 47fcfcb75b5d5ece1bba1aeca8e2d99b0103d6c4 (diff) | |
download | xen-f9f9329313866cffe0e00524592cf765734d3a41.tar.gz xen-f9f9329313866cffe0e00524592cf765734d3a41.tar.bz2 xen-f9f9329313866cffe0e00524592cf765734d3a41.zip |
New XS_SET_TARGET
Stubdomains (and probably other domain disagregation elements too)
need to be able to tinker with another domain. This adds
XS_SET_TARGET so that XenStore allows domains to have permissions on
files on which the "target" has permissions. This also adds
xs_set_target, called by the domain builder when the 'target' option
is used in the configuration.
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Diffstat (limited to 'tools/xenstore/xenstored_domain.h')
-rw-r--r-- | tools/xenstore/xenstored_domain.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/xenstore/xenstored_domain.h b/tools/xenstore/xenstored_domain.h index 69fdb77c1a..f42a9f50ad 100644 --- a/tools/xenstore/xenstored_domain.h +++ b/tools/xenstore/xenstored_domain.h @@ -34,6 +34,9 @@ void do_release(struct connection *conn, const char *domid_str); /* domid */ void do_resume(struct connection *conn, const char *domid_str); +/* domid, target */ +void do_set_target(struct connection *conn, struct buffered_data *in); + /* domid */ void do_get_domain_path(struct connection *conn, const char *domid_str); |