Lines Matching refs:sid
114 if (avc_context_to_sid_raw(ctx, &obj->sid) < 0) {
150 if (!obj->sid) {
184 tsid = obj->sid;
187 if (obj->poly && avc_compute_member(subj->sid, obj->sid,
222 if (avc_compute_create(subj->sid, obj->sid,
231 if (avc_compute_member(subj->sid, tsid2,
252 security_id_t sid;
256 sid = SELinuxArrayGet(&arr_events, type);
257 if (!sid) {
264 if (avc_context_to_sid_raw(ctx, &sid) < 0) {
271 if (!SELinuxArraySet(&arr_events, type, sid))
276 if (avc_compute_create(sid_of_window, sid, SECCLASS_X_EVENT,
277 &sid_return->sid) < 0) {