[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xsm/flask: Remove useless back pointers
# HG changeset patch # User Daniel De Graaf <dgdegra@xxxxxxxxxxxxx> # Date 1328195997 0 # Node ID 80ade5616fc1ccb76a8da3b4eace8b302fdc5219 # Parent 912bbca1a8e7bc93cfe492bc32a352dcd2bd477b xsm/flask: Remove useless back pointers Signed-off-by: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx> Committed-by: Keir Fraser <keir@xxxxxxx> --- diff -r 912bbca1a8e7 -r 80ade5616fc1 xen/xsm/flask/hooks.c --- a/xen/xsm/flask/hooks.c Thu Feb 02 15:19:24 2012 +0000 +++ b/xen/xsm/flask/hooks.c Thu Feb 02 15:19:57 2012 +0000 @@ -104,8 +104,6 @@ memset(dsec, 0, sizeof(struct domain_security_struct)); - dsec->d = d; - if ( is_idle_domain(d) ) { dsec->sid = SECINITSID_XEN; @@ -281,7 +279,6 @@ memset(esec, 0, sizeof(struct evtchn_security_struct)); - esec->chn = chn; esec->sid = SECINITSID_UNLABELED; chn->ssid = esec; diff -r 912bbca1a8e7 -r 80ade5616fc1 xen/xsm/flask/include/objsec.h --- a/xen/xsm/flask/include/objsec.h Thu Feb 02 15:19:24 2012 +0000 +++ b/xen/xsm/flask/include/objsec.h Thu Feb 02 15:19:57 2012 +0000 @@ -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 */ }; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |