aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstore/xenstored_core.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-01-23 13:22:13 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-01-23 13:22:13 +0000
commitf9f9329313866cffe0e00524592cf765734d3a41 (patch)
treebb835a42f05839df1244295194b58900637e19fb /tools/xenstore/xenstored_core.h
parent47fcfcb75b5d5ece1bba1aeca8e2d99b0103d6c4 (diff)
downloadxen-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_core.h')
-rw-r--r--tools/xenstore/xenstored_core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/xenstore/xenstored_core.h b/tools/xenstore/xenstored_core.h
index d46d77f026..975a97226f 100644
--- a/tools/xenstore/xenstored_core.h
+++ b/tools/xenstore/xenstored_core.h
@@ -84,6 +84,9 @@ struct connection
/* The domain I'm associated with, if any. */
struct domain *domain;
+ /* The target of the domain I'm associated with. */
+ struct connection *target;
+
/* My watches. */
struct list_head watches;