[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 07/10] xsm/flask: Remove useless back pointers
Signed-off-by: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx> --- xen/xsm/flask/hooks.c | 3 --- xen/xsm/flask/include/objsec.h | 2 -- 2 files changed, 0 insertions(+), 5 deletions(-) diff --git a/xen/xsm/flask/hooks.c b/xen/xsm/flask/hooks.c index a095915..ad1013f 100644 --- a/xen/xsm/flask/hooks.c +++ b/xen/xsm/flask/hooks.c @@ -104,8 +104,6 @@ static int flask_domain_alloc_security(struct domain *d) memset(dsec, 0, sizeof(struct domain_security_struct)); - dsec->d = d; - if ( is_idle_domain(d) ) { dsec->sid = SECINITSID_XEN; @@ -281,7 +279,6 @@ static int flask_alloc_security_evtchn(struct evtchn *chn) memset(esec, 0, sizeof(struct evtchn_security_struct)); - esec->chn = chn; esec->sid = SECINITSID_UNLABELED; chn->ssid = esec; diff --git a/xen/xsm/flask/include/objsec.h b/xen/xsm/flask/include/objsec.h index 12f709a..df5baee 100644 --- a/xen/xsm/flask/include/objsec.h +++ b/xen/xsm/flask/include/objsec.h @@ -18,13 +18,11 @@ #include "avc.h" struct domain_security_struct { - struct domain *d; /* back pointer to domain object */ u32 sid; /* current SID */ u32 create_sid; }; struct evtchn_security_struct { - struct evtchn *chn; /* back pointer to evtchn object */ u32 sid; /* current SID */ }; -- 1.7.7.6 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |