Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dassertion.c232 rc = ebitmap_and(&src_matches, &avrule->stypes.types, in report_assertion_avtab_matches()
240 rc = ebitmap_and(&tgt_matches, &avrule->ttypes.types, &p->attr_type_map[k->target_type -1]); in report_assertion_avtab_matches()
245 …rc = ebitmap_and(&matches, &p->attr_type_map[k->source_type - 1], &p->attr_type_map[k->target_type… in report_assertion_avtab_matches()
248 rc = ebitmap_and(&self_matches, &avrule->stypes.types, &matches); in report_assertion_avtab_matches()
392 rc = ebitmap_and(&src_matches, &avrule->stypes.types, in check_assertion_extended_permissions()
400 rc = ebitmap_and(&tgt_matches, &avrule->ttypes.types, in check_assertion_extended_permissions()
406 rc = ebitmap_and(&matches, &p->attr_type_map[k->source_type - 1], in check_assertion_extended_permissions()
410 rc = ebitmap_and(&self_matches, &avrule->stypes.types, &matches); in check_assertion_extended_permissions()
473 …rc = ebitmap_and(&match, &p->attr_type_map[k->source_type - 1], &p->attr_type_map[k->target_type -… in check_assertion_avtab_match()
Debitmap.c74 int ebitmap_and(ebitmap_t *dst, ebitmap_t *e1, ebitmap_t *e2) in ebitmap_and() function
121 rc = ebitmap_and(dst, e1, &e3); in ebitmap_andnot()
Dmodule_to_cil.c3559 ebitmap_and(&res, &sup_map, &sub_map); in is_scope_superset()
3574 ebitmap_and(&res, &sup_map, &sub_map); in is_scope_superset()
/external/selinux/libsepol/include/sepol/policydb/
Dmls_types.h65 if (ebitmap_and(&dst->level[0].cat, &r1->level[0].cat, &r2->level[0].cat) < 0) { in mls_range_glblub()
69 if (ebitmap_and(&dst->level[1].cat, &r1->level[1].cat, &r2->level[1].cat) < 0) { in mls_range_glblub()
Debitmap.h85 extern int ebitmap_and(ebitmap_t *dst, ebitmap_t *e1, ebitmap_t *e2);
/external/selinux/mcstrans/src/
Dmcstrans.c447 if (ebitmap_and(&word->inverse, &temp, &group->def) < 0) in add_word()
531 if (ebitmap_and(&common, &s->cat, &l->cat) < 0) in violates_constraints()
545 if (ebitmap_and(&common, &c->mask, &l->cat) < 0) in violates_constraints()
550 if (ebitmap_and(&common, &c->cat, &l->cat) < 0) in violates_constraints()
1206 if (ebitmap_and(&clear, &tmp, &g->def) < 0) goto err; in compute_raw_from_trans()
1377 if (ebitmap_and(&bit_diff, &temp, &nothandled) < 0) in compute_trans_from_raw()
1381 if (ebitmap_and(&temp, &bit_diff, &unhandled) < 0) in compute_trans_from_raw()
/external/selinux/libsepol/cil/src/
Dcil_find.c109 rc = ebitmap_and(matches, a1->types, a2->types); in cil_type_matches()
Dcil_post.c1363 rc = ebitmap_and(&tmp, &b1, &b2); in __cil_expr_to_bitmap()