Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dassertion.c236 rc = ebitmap_and(&src_matches, &avrule->stypes.types, in report_assertion_avtab_matches()
244 rc = ebitmap_and(&tgt_matches, &avrule->ttypes.types, &p->attr_type_map[k->target_type -1]); in report_assertion_avtab_matches()
249 …rc = ebitmap_and(&matches, &p->attr_type_map[k->source_type - 1], &p->attr_type_map[k->target_type… in report_assertion_avtab_matches()
252 rc = ebitmap_and(&self_matches, &avrule->stypes.types, &matches); in report_assertion_avtab_matches()
405 rc = ebitmap_and(&src_matches, &avrule->stypes.types, in check_assertion_extended_permissions()
413 rc = ebitmap_and(&tgt_matches, &avrule->ttypes.types, in check_assertion_extended_permissions()
419 rc = ebitmap_and(&matches, &p->attr_type_map[k->source_type - 1], in check_assertion_extended_permissions()
423 rc = ebitmap_and(&self_matches, &avrule->stypes.types, &matches); in check_assertion_extended_permissions()
491 …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.c3624 ebitmap_and(&res, &sup_map, &sub_map); in is_scope_superset()
3639 ebitmap_and(&res, &sup_map, &sub_map); in is_scope_superset()
/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()
1205 if (ebitmap_and(&clear, &tmp, &g->def) < 0) goto err; in compute_raw_from_trans()
1376 if (ebitmap_and(&bit_diff, &temp, &nothandled) < 0) in compute_trans_from_raw()
1380 if (ebitmap_and(&temp, &bit_diff, &unhandled) < 0) in compute_trans_from_raw()
/external/selinux/libsepol/include/sepol/policydb/
Debitmap.h82 extern int ebitmap_and(ebitmap_t *dst, ebitmap_t *e1, ebitmap_t *e2);
/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()