Home
last modified time | relevance | path

Searched refs:tsid (Results 1 – 8 of 8) sorted by relevance

/xen/xen/xsm/flask/
A Davc.c70 u32 tsid; member
215 avc_printk(buf, " tsid=%d", tsid); in avc_dump_query()
368 node->ae.tsid = tsid; in avc_node_populate()
380 hvalue = avc_hash(ssid, tsid, tclass); in avc_search_node()
386 tsid == node->ae.tsid ) in avc_search_node()
485 hvalue = avc_hash(ssid, tsid, tclass); in avc_insert()
495 pos->ae.tsid == tsid && 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()
643 tsid == pos->ae.tsid && in avc_update_node()
[all …]
A Dflask_op.c98 rv = security_change_sid(arg->ssid, arg->tsid, arg->tclass, &arg->newsid); in flask_security_relabel()
111 rv = security_transition_sid(arg->ssid, arg->tsid, arg->tclass, &arg->newsid); in flask_security_create()
125 rv = security_compute_av(arg->ssid, arg->tsid, arg->tclass, arg->req, &avd); in flask_security_access()
145 rv = security_member_sid(arg->ssid, arg->tsid, arg->tclass, &arg->newsid); in flask_security_member()
A Dhooks.c67 u32 ssid, tsid; in domain_has_perm() local
74 tsid = domain_target_sid(dom1, dom2); in domain_has_perm()
76 return avc_has_perm(ssid, tsid, class, perms, &ad); in domain_has_perm()
79 static int avc_current_has_perm(u32 tsid, u16 class, u32 perm, in avc_current_has_perm() argument
83 return avc_has_perm(csid, tsid, class, perm, ad); in avc_current_has_perm()
/xen/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.h85 void avc_audit(u32 ssid, u32 tsid, u16 tclass, u32 requested,
88 int avc_has_perm_noaudit(u32 ssid, u32 tsid, u16 tclass, u32 requested,
91 int avc_has_perm(u32 ssid, u32 tsid, u16 tclass, u32 requested,
/xen/xen/include/public/xsm/
A Dflask_op.h54 uint32_t tsid; member
67 uint32_t tsid; member
/xen/xen/xsm/flask/ss/
A Dservices.c666 int security_compute_av(u32 ssid, u32 tsid, u16 tclass, u32 requested, in security_compute_av() argument
690 tcontext = sidtab_search(&sidtab, tsid); in security_compute_av()
693 printk("security_compute_av: unrecognized SID %d\n", tsid); in security_compute_av()
966 u32 tsid, in security_compute_sid() argument
986 *out_sid = tsid; in security_compute_sid()
1001 tcontext = sidtab_search(&sidtab, tsid); in security_compute_sid()
1126 int security_transition_sid(u32 ssid, u32 tsid, u16 tclass, u32 *out_sid) in security_transition_sid() argument
1144 int security_member_sid(u32 ssid, u32 tsid, u16 tclass, u32 *out_sid) in security_member_sid() argument
1146 return security_compute_sid(ssid, tsid, tclass, AVTAB_MEMBER, out_sid); in security_member_sid()
1162 int security_change_sid(u32 ssid, u32 tsid, u16 tclass, u32 *out_sid) in security_change_sid() argument
[all …]
/xen/tools/libxc/
A Dxc_flask.c329 err = xc_flask_context_to_sid(xch, (char*)tcon, strlen(tcon), &op.u.access.tsid); in xc_flask_access()

Completed in 23 milliseconds