Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Dassertion.c237 rc = ebitmap_and(&src_matches, &avrule->stypes.types, in report_assertion_avtab_matches()
245 rc = ebitmap_and(&tgt_matches, &avrule->ttypes.types, &p->attr_type_map[k->target_type -1]); in report_assertion_avtab_matches()
250 rc = ebitmap_and(&self_matches, &src_matches, &p->attr_type_map[k->target_type - 1]); in report_assertion_avtab_matches()
392 rc = ebitmap_and(&src_matches, &avrule->stypes.types, in check_assertion_extended_permissions()
402 rc = ebitmap_and(&tgt_matches, &avrule->ttypes.types, in check_assertion_extended_permissions()
408 rc = ebitmap_and(&self_matches, &src_matches, &p->attr_type_map[k->target_type - 1]); in check_assertion_extended_permissions()
454 rc = ebitmap_and(&src_matches, &avrule->stypes.types, &p->attr_type_map[k->source_type - 1]); in check_assertion_self_match()
Debitmap.c74 int ebitmap_and(ebitmap_t *dst, const ebitmap_t *e1, const ebitmap_t *e2) in ebitmap_and() function
224 rc = ebitmap_and(dst, e1, &e3); in ebitmap_andnot()
Dmodule_to_cil.c3611 ebitmap_and(&res, &sup_map, &sub_map); in is_scope_superset()
3626 ebitmap_and(&res, &sup_map, &sub_map); in is_scope_superset()
/third_party/selinux/libsepol/tests/
Dtest-ebitmap.c429 CU_ASSERT_EQUAL(ebitmap_and(&dst, &e1, &e1), 0); in test_ebitmap_and()
438 CU_ASSERT_EQUAL(ebitmap_and(&dst, &e2, &e2), 0); in test_ebitmap_and()
447 CU_ASSERT_EQUAL(ebitmap_and(&dst, &e1, &e2), 0); in test_ebitmap_and()
456 CU_ASSERT_EQUAL(ebitmap_and(&dst, &e3, &e3), 0); in test_ebitmap_and()
465 CU_ASSERT_EQUAL(ebitmap_and(&dst, &e1, &e3), 0); in test_ebitmap_and()
474 CU_ASSERT_EQUAL(ebitmap_and(&dst, &e2, &e3), 0); in test_ebitmap_and()
483 CU_ASSERT_EQUAL(ebitmap_and(&dst, &e4, &e4), 0); in test_ebitmap_and()
492 CU_ASSERT_EQUAL(ebitmap_and(&dst, &e3, &e4), 0); in test_ebitmap_and()
529 CU_ASSERT_EQUAL(ebitmap_and(&dst, &e5, &e6), 0); in test_ebitmap_and()
989 CU_ASSERT_EQUAL(ebitmap_and(&dst_and, &e1, &e2), 0); in test_ebitmap__random_impl()
[all …]
/third_party/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.h86 extern int ebitmap_and(ebitmap_t *dst, const ebitmap_t *e1, const ebitmap_t *e2);
/third_party/selinux/libsepol/cil/src/
Dcil_find.c110 rc = ebitmap_and(matches, a1->types, a2->types); in cil_type_matches()
Dcil_post.c1365 rc = ebitmap_and(&tmp, &b1, &b2); in __cil_expr_to_bitmap()