aboutsummaryrefslogtreecommitdiffstats
path: root/xen/xsm
diff options
context:
space:
mode:
authorKeir Fraser <keir@xen.org>2010-12-09 10:09:59 +0000
committerKeir Fraser <keir@xen.org>2010-12-09 10:09:59 +0000
commit45dc0eb888d5c64f48e6a2faacfa76e41791475a (patch)
treefe5d750097b0e513c513511fbaa11a87246675d8 /xen/xsm
parent805a1afca3928a9ad96f67e797ff1e5003380ef8 (diff)
downloadxen-45dc0eb888d5c64f48e6a2faacfa76e41791475a.tar.gz
xen-45dc0eb888d5c64f48e6a2faacfa76e41791475a.tar.bz2
xen-45dc0eb888d5c64f48e6a2faacfa76e41791475a.zip
Move IDLE_DOMAIN_ID defn to public header, and change DOMID_INVALID to fix clash.
Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/xsm')
-rw-r--r--xen/xsm/flask/hooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/xsm/flask/hooks.c b/xen/xsm/flask/hooks.c
index 727eddb989..cb83b361ed 100644
--- a/xen/xsm/flask/hooks.c
+++ b/xen/xsm/flask/hooks.c
@@ -74,7 +74,7 @@ static int flask_domain_alloc_security(struct domain *d)
dsec->d = d;
- if ( d->domain_id == IDLE_DOMAIN_ID )
+ if ( is_idle_domain(d) )
{
dsec->sid = SECINITSID_XEN;
dsec->create_sid = SECINITSID_DOM0;