Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Committed-by: Keir Fraser <keir@xen.org>
memset(dsec, 0, sizeof(struct domain_security_struct));
- dsec->d = d;
-
if ( is_idle_domain(d) )
{
dsec->sid = SECINITSID_XEN;
memset(esec, 0, sizeof(struct evtchn_security_struct));
- esec->chn = chn;
esec->sid = SECINITSID_UNLABELED;
chn->ssid = esec;
#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 */
};