Home
last modified time | relevance | path

Searched refs:newsid (Results 1 – 5 of 5) sorted by relevance

/xen/xen/xsm/flask/
A Dhooks.c202 u32 sid1, sid2, newsid; in flask_evtchn_unbound() local
213 rc = security_transition_sid(sid1, sid2, SECCLASS_EVENT, &newsid); in flask_evtchn_unbound()
217 rc = avc_current_has_perm(newsid, SECCLASS_EVENT, EVENT__CREATE, NULL); in flask_evtchn_unbound()
221 rc = avc_has_perm(newsid, sid2, SECCLASS_EVENT, EVENT__BIND, NULL); in flask_evtchn_unbound()
225 chn->ssid.flask_sid = newsid; in flask_evtchn_unbound()
235 u32 sid1, sid2, newsid, reverse_sid; in flask_evtchn_interdomain() local
245 rc = security_transition_sid(sid1, sid2, SECCLASS_EVENT, &newsid); in flask_evtchn_interdomain()
253 rc = avc_current_has_perm(newsid, SECCLASS_EVENT, EVENT__CREATE, &ad); in flask_evtchn_interdomain()
257 rc = avc_has_perm(newsid, sid2, SECCLASS_EVENT, EVENT__BIND, &ad); in flask_evtchn_interdomain()
270 chn1->ssid.flask_sid = newsid; in flask_evtchn_interdomain()
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()
145 rv = security_member_sid(arg->ssid, arg->tsid, arg->tclass, &arg->newsid); in flask_security_member()
/xen/xen/xsm/flask/include/
A Dsecurity.h93 int security_validate_transition(u32 oldsid, u32 newsid, u32 tasksid,
/xen/xen/include/public/xsm/
A Dflask_op.h70 uint32_t newsid; member
/xen/xen/xsm/flask/ss/
A Dservices.c584 int security_validate_transition(u32 oldsid, u32 newsid, u32 tasksid, in security_validate_transition() argument
617 ncontext = sidtab_search(&sidtab, newsid); in security_validate_transition()
621 " unrecognized SID %d\n", newsid); in security_validate_transition()

Completed in 14 milliseconds