Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dassertion.c235 rc = ebitmap_and(&src_matches, &avrule->stypes.types, in report_assertion_avtab_matches()
244 …rc = ebitmap_and(&matches, &p->attr_type_map[k->source_type - 1], &p->attr_type_map[k->target_type… in report_assertion_avtab_matches()
247 rc = ebitmap_and(&tgt_matches, &avrule->stypes.types, &matches); in report_assertion_avtab_matches()
251 rc = ebitmap_and(&tgt_matches, &avrule->ttypes.types, &p->attr_type_map[k->target_type -1]); in report_assertion_avtab_matches()
395 rc = ebitmap_and(&src_matches, &avrule->stypes.types, in check_assertion_extended_permissions()
404 rc = ebitmap_and(&matches, &p->attr_type_map[k->source_type - 1], in check_assertion_extended_permissions()
408 rc = ebitmap_and(&tgt_matches, &avrule->stypes.types, &matches); in check_assertion_extended_permissions()
412 rc = ebitmap_and(&tgt_matches, &avrule->ttypes.types, in check_assertion_extended_permissions()
475 …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.c3439 ebitmap_and(&res, &sup_map, &sub_map); in is_scope_superset()
3454 ebitmap_and(&res, &sup_map, &sub_map); in is_scope_superset()
/external/selinux/libsepol/include/sepol/policydb/
Debitmap.h81 extern int ebitmap_and(ebitmap_t *dst, ebitmap_t *e1, ebitmap_t *e2);
/external/selinux/policycoreutils/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()
546 if (ebitmap_and(&common, &c->mask, &l->cat) < 0) in violates_constraints()
552 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()
1381 if (ebitmap_and(&bit_diff, &temp, &nothandled) < 0) in compute_trans_from_raw()
1385 if (ebitmap_and(&temp, &bit_diff, &unhandled) < 0) in compute_trans_from_raw()
/external/selinux/libsepol/cil/src/
Dcil_find.c105 rc = ebitmap_and(matches, a1->types, a2->types); in cil_type_matches()
Dcil_post.c1112 rc = ebitmap_and(&tmp, &b1, &b2); in __cil_expr_to_bitmap()