Home
last modified time | relevance | path

Searched refs:ssid (Results 1 – 14 of 14) sorted by relevance

/xen-4.10.0-shim-comet/xen/xsm/flask/
A Davc.c69 u32 ssid; member
206 avc_printk(buf, "ssid=%d", ssid); in avc_dump_query()
367 node->ae.ssid = ssid; in avc_node_populate()
380 hvalue = avc_hash(ssid, tsid, tclass); in avc_search_node()
384 if ( ssid == node->ae.ssid && in avc_search_node()
485 hvalue = avc_hash(ssid, tsid, tclass); in avc_insert()
494 if ( pos->ae.ssid == ssid && in avc_insert()
595 avc_dump_query(&buf, ssid, tsid, tclass); in avc_audit()
633 hvalue = avc_hash(ssid, tsid, tclass); in avc_update_node()
642 if ( ssid == pos->ae.ssid && in avc_update_node()
[all …]
A Dhooks.c58 return chn->ssid.flask_sid; in evtchn_sid()
64 u32 ssid, tsid; in domain_has_perm() local
70 ssid = domain_sid(dom1); in domain_has_perm()
180 d->ssid = dsec; in flask_domain_alloc_security()
192 d->ssid = NULL; in flask_domain_free_security()
222 chn->ssid.flask_sid = newsid; in flask_evtchn_unbound()
267 chn1->ssid.flask_sid = newsid; in flask_evtchn_interdomain()
564 dsec = d->ssid; in flask_set_target()
565 tsec = t->ssid; in flask_set_target()
1018 u32 ssid; member
[all …]
A Dflask_op.c81 dsec = d->ssid; in domain_has_security()
97 rv = security_change_sid(arg->ssid, arg->tsid, arg->tclass, &arg->newsid); in flask_security_relabel()
110 rv = security_transition_sid(arg->ssid, arg->tsid, arg->tclass, &arg->newsid); in flask_security_create()
124 rv = security_compute_av(arg->ssid, arg->tsid, arg->tclass, arg->req, &avd); in flask_security_access()
144 rv = security_member_sid(arg->ssid, arg->tsid, arg->tclass, &arg->newsid); in flask_security_member()
570 dsec = peer->ssid; in flask_get_peer_sid()
583 struct domain_security_struct *csec = current->domain->ssid; in flask_relabel_domain()
594 dsec = d->ssid; in flask_relabel_domain()
623 struct domain_security_struct *tsec = d->target->ssid; in flask_relabel_domain()
/xen-4.10.0-shim-comet/xen/xsm/flask/include/
A Dsecurity.h68 int security_compute_av(u32 ssid, u32 tsid, u16 tclass, u32 requested,
71 int security_transition_sid(u32 ssid, u32 tsid, u16 tclass, u32 *out_sid);
73 int security_member_sid(u32 ssid, u32 tsid, u16 tclass, u32 *out_sid);
75 int security_change_sid(u32 ssid, u32 tsid, u16 tclass, u32 *out_sid);
A Davc.h84 void avc_audit(u32 ssid, u32 tsid, u16 tclass, u32 requested,
87 int avc_has_perm_noaudit(u32 ssid, u32 tsid, u16 tclass, u32 requested,
90 int avc_has_perm(u32 ssid, u32 tsid, u16 tclass, u32 requested,
/xen-4.10.0-shim-comet/tools/helpers/
A Dinit-xenstore-domain.c63 uint32_t ssid; in build() local
78 rv = xc_flask_context_to_sid(xch, flask, strlen(flask), &ssid); in build()
87 ssid = SECINITSID_DOMU; in build()
89 rv = xc_domain_create(xch, ssid, handle, XEN_DOMCTL_CDF_xs_domain, in build()
/xen-4.10.0-shim-comet/xen/include/public/xsm/
A Dflask_op.h53 uint32_t ssid; member
66 uint32_t ssid; member
/xen-4.10.0-shim-comet/xen/xsm/flask/ss/
A Dservices.c666 int security_compute_av(u32 ssid, u32 tsid, u16 tclass, u32 requested, in security_compute_av() argument
683 scontext = sidtab_search(&sidtab, ssid); in security_compute_av()
686 printk("security_compute_av: unrecognized SID %d\n", ssid); in security_compute_av()
963 static int security_compute_sid(u32 ssid, in security_compute_sid() argument
981 *out_sid = ssid; in security_compute_sid()
992 scontext = sidtab_search(&sidtab, ssid); in security_compute_sid()
1124 int security_transition_sid(u32 ssid, u32 tsid, u16 tclass, u32 *out_sid) in security_transition_sid() argument
1142 int security_member_sid(u32 ssid, u32 tsid, u16 tclass, u32 *out_sid) in security_member_sid() argument
1144 return security_compute_sid(ssid, tsid, tclass, AVTAB_MEMBER, out_sid); in security_member_sid()
1160 int security_change_sid(u32 ssid, u32 tsid, u16 tclass, u32 *out_sid) in security_change_sid() argument
[all …]
/xen-4.10.0-shim-comet/tools/xenstat/libxenstat/src/
A Dxenstat_priv.h71 unsigned int ssid; member
A Dxenstat.c258 domain->ssid = domaininfo[i].ssidref; in xenstat_get_node()
412 return domain->ssid; in xenstat_domain_ssid()
/xen-4.10.0-shim-comet/xen/common/
A Devent_channel.c1400 char *ssid; in domain_dump_evtchn_info() local
1435 ssid = xsm_show_security_evtchn(d, chn); in domain_dump_evtchn_info()
1436 if (ssid) { in domain_dump_evtchn_info()
1437 printk(" Z=%s\n", ssid); in domain_dump_evtchn_info()
1438 xfree(ssid); in domain_dump_evtchn_info()
/xen-4.10.0-shim-comet/xen/include/xen/
A Dsched.h132 } ssid; member
424 void *ssid; /* sHype security subject identifier */ member
/xen-4.10.0-shim-comet/xen/arch/x86/
A Dirq.c2276 char *ssid; in dump_irqs() local
2290 ssid = in_irq() ? NULL : xsm_show_irq_sid(irq); in dump_irqs()
2301 if ( ssid ) in dump_irqs()
2302 printk("Z=%-25s ", ssid); in dump_irqs()
2333 xfree(ssid); in dump_irqs()
/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_flask.c326 err = xc_flask_context_to_sid(xch, (char*)scon, strlen(scon), &op.u.access.ssid); in xc_flask_access()

Completed in 46 milliseconds