Home
last modified time | relevance | path

Searched refs:ebitmap_get_bit (Results 1 – 21 of 21) sorted by relevance

/third_party/selinux/checkpolicy/test/
Ddismod.c91 if (ebitmap_get_bit(map, i)) { in render_access_bitmap()
133 if (!ebitmap_get_bit(&set->types, i)) in display_type_set()
143 if (!ebitmap_get_bit(&set->negset, i)) in display_type_set()
156 if (!ebitmap_get_bit(&set->types, i)) in display_type_set()
163 if (!ebitmap_get_bit(&set->negset, i)) in display_type_set()
191 if (!ebitmap_get_bit(&roles->roles, i)) in display_mod_role_set()
202 if (ebitmap_get_bit(&roles->roles, i)) in display_mod_role_set()
338 if (!ebitmap_get_bit(&type->types, i)) in display_type_callback()
375 if (ebitmap_get_bit(bitmap, j)) { in display_users()
467 if (!ebitmap_get_bit(classes, i)) in display_class_set()
[all …]
/third_party/selinux/libsepol/src/
Dpolicydb_validate.c89 if (ebitmap_get_bit(&flavor->gaps, value-1)) in validate_value()
319 if (ebitmap_get_bit(&flavors[SYM_CLASSES].gaps, i)) in validate_datum_arrays()
324 if (!ebitmap_get_bit(&flavors[SYM_CLASSES].gaps, i)) in validate_datum_arrays()
331 if (ebitmap_get_bit(&flavors[SYM_ROLES].gaps, i)) in validate_datum_arrays()
336 if (!ebitmap_get_bit(&flavors[SYM_ROLES].gaps, i)) in validate_datum_arrays()
348 if (ebitmap_get_bit(&flavors[SYM_TYPES].gaps, i)) in validate_datum_arrays()
353 if (!ebitmap_get_bit(&flavors[SYM_TYPES].gaps, i)) in validate_datum_arrays()
361 if (ebitmap_get_bit(&flavors[SYM_USERS].gaps, i)) in validate_datum_arrays()
366 if (!ebitmap_get_bit(&flavors[SYM_USERS].gaps, i)) in validate_datum_arrays()
Debitmap.c80 if (ebitmap_get_bit(e1, i) && ebitmap_get_bit(e2, i)) { in ebitmap_and()
94 int val = ebitmap_get_bit(e1, i) ^ ebitmap_get_bit(e2, i); in ebitmap_xor()
107 int val = ebitmap_get_bit(e1, i); in ebitmap_not()
256 int ebitmap_get_bit(const ebitmap_t * e, unsigned int bit) in ebitmap_get_bit() function
Dcontext.c58 if (!role || !ebitmap_get_bit(&role->cache, c->type - 1)) in context_is_valid()
69 if (!ebitmap_get_bit(&usrdatum->cache, c->role - 1)) in context_is_valid()
Dservices.c227 rc = ebitmap_get_bit(types, i); in get_name_list()
242 rc = ebitmap_get_bit(types, i); in get_name_list()
534 s[++sp] = ebitmap_get_bit(&r1->dominates, val2 - 1); in constraint_expr_eval_reason()
539 s[++sp] = ebitmap_get_bit(&r2->dominates, val1 - 1); in constraint_expr_eval_reason()
544 s[++sp] = (!ebitmap_get_bit(&r1->dominates, val2 - 1) in constraint_expr_eval_reason()
545 && !ebitmap_get_bit(&r2->dominates, val1 - 1)); in constraint_expr_eval_reason()
677 s[++sp] = ebitmap_get_bit(&e->names, val1 - 1); in constraint_expr_eval_reason()
682 s[++sp] = !ebitmap_get_bit(&e->names, val1 - 1); in constraint_expr_eval_reason()
Dhierarchy.c112 if (ebitmap_get_bit(&p->attr_type_map[src - 1], parent - 1)) { in bounds_expand_rule()
297 if (ebitmap_get_bit(&p->attr_type_map[src - 1], child - 1)) { in bounds_check_rule()
Dexpand.c949 if (!ebitmap_get_bit(&levdatum->level->cat, i)) { in mls_semantic_level_expand()
2481 if (ebitmap_get_bit(r, i)) { in role_set_expand()
2565 if (ebitmap_get_bit(&neg_types, i)) in type_set_expand()
2577 if (!ebitmap_get_bit(&neg_types, i)) in type_set_expand()
2586 assert(!ebitmap_get_bit(t, i)); in type_set_expand()
2589 if (ebitmap_get_bit(t, i)) { in type_set_expand()
Dmls.c295 if (!ebitmap_get_bit(&levdatum->level->cat, i)) in mls_context_isvalid()
Dkernel_to_cil.c1011 if (ebitmap_get_bit(cats, i+1)) in cats_ebitmap_len()
1062 if (ebitmap_get_bit(cats, i+1)) in cats_ebitmap_to_str()
Dkernel_to_conf.c1010 if (ebitmap_get_bit(cats, i+1)) in cats_ebitmap_len()
1052 if (ebitmap_get_bit(cats, i+1)) in cats_ebitmap_to_str()
Dpolicydb.c2597 if (ebitmap_get_bit(&datum->stypes, stype - 1)) { in policydb_filetrans_insert()
2715 if (ebitmap_get_bit(&otypes, datum->otype)) in filename_trans_check_datum()
/third_party/selinux/libsepol/cil/src/
Dcil_find.c60 if (ebitmap_get_bit(a->types, t->value)) { in cil_type_match_any()
66 if (ebitmap_get_bit(a->types, t->value)) { in cil_type_match_any()
97 if (ebitmap_get_bit(a->types, t->value)) { in cil_type_matches()
103 if (ebitmap_get_bit(a->types, t->value)) { in cil_type_matches()
Dcil_policy.c1090 if (ebitmap_get_bit(attribute->types, type->value)) { in cil_typeattributes_to_policy()
1507 if (ebitmap_get_bit(role->types, type->value)) { in cil_role_types_to_policy()
1538 if (ebitmap_get_bit(attribute->roles, role->value)) { in cil_roleattributes_to_policy()
1596 if (ebitmap_get_bit(user->roles, role->value)) { in cil_users_to_policy()
Dcil_verify.c894 if (!ebitmap_get_bit(user->roles, role->value)) { in __cil_verify_context()
906 if (!ebitmap_get_bit(role->types, type->value)) { in __cil_verify_context()
Dcil_post.c1123 if (ebitmap_get_bit(&bitmap, cat->value)) { in __evaluate_cat_expression()
2053 if (!ebitmap_get_bit(perms, value)) { in __perm_bits_to_list()
Dcil_binary.c1576 if (IOC_FUNC(i) != 0xff && ebitmap_get_bit(xperms, i + 1)) { in __cil_permx_bitmap_to_sepol_xperms_list()
/third_party/selinux/libsepol/tests/
Ddebug.c31 fprintf(fp, "%d", ebitmap_get_bit(bitmap, i)); in print_ebitmap()
/third_party/selinux/libsepol/include/sepol/policydb/
Debitmap.h95 extern int ebitmap_get_bit(const ebitmap_t * e, unsigned int bit);
/third_party/selinux/
Dlibsepol.map73 "ebitmap_get_bit";
/third_party/selinux/checkpolicy/
Dmodule_compiler.c1146 if (ebitmap_get_bit(scope->class_perms_map + class_value - 1, in is_perm_in_scope_index()
Dpolicy_define.c2906 if (ebitmap_get_bit(&(rdatum->dominates), rdp->s.value - 1)) { in dominate_role_recheck()
4161 if (!ebitmap_get_bit(&levdatum->level->cat, i)) { in parse_categories()