Home
last modified time | relevance | path

Searched refs:ebitmap_for_each_bit (Results 1 – 22 of 22) sorted by relevance

/external/selinux/libsepol/src/
Dassertion.c160 ebitmap_for_each_bit(sattr, snode, i) { in report_assertion_extended_permissions()
163 ebitmap_for_each_bit(tattr, tnode, j) { in report_assertion_extended_permissions()
266 ebitmap_for_each_bit(&src_matches, snode, i) { in report_assertion_avtab_matches()
269 ebitmap_for_each_bit(&tgt_matches, tnode, j) { in report_assertion_avtab_matches()
340 ebitmap_for_each_bit(sattr, snode, i) { in check_assertion_extended_permissions_avtab()
343 ebitmap_for_each_bit(tattr, tnode, j) { in check_assertion_extended_permissions_avtab()
424 ebitmap_for_each_bit(&src_matches, snode, i) { in check_assertion_extended_permissions()
427 ebitmap_for_each_bit(&tgt_matches, tnode, j) { in check_assertion_extended_permissions()
Dexpand.c63 ebitmap_for_each_bit(src, tnode, i) { in map_ebitmap()
772 ebitmap_for_each_bit(&role->roles, rnode, i) { in role_fix_callback()
1245 ebitmap_for_each_bit(&roles, snode, i) { in copy_role_allows()
1248 ebitmap_for_each_bit(&new_roles, tnode, j) { in copy_role_allows()
1313 ebitmap_for_each_bit(&roles, rnode, i) { in copy_role_trans()
1316 ebitmap_for_each_bit(&types, tnode, j) { in copy_role_trans()
1319 ebitmap_for_each_bit(&cur->classes, cnode, k) { in copy_role_trans()
1413 ebitmap_for_each_bit(&stypes, snode, i) { in expand_filename_trans()
1416 ebitmap_for_each_bit(&ttypes, tnode, j) { in expand_filename_trans()
1568 ebitmap_for_each_bit(&stypes, snode, i) { in expand_range_trans()
[all …]
Dmls.c127 ebitmap_for_each_bit(&context->range.level[l].cat, cnode, i) { in mls_compute_context_len()
194 ebitmap_for_each_bit(&context->range.level[l].cat, cnode, i) { in mls_sid_to_context()
290 ebitmap_for_each_bit(&c->range.level[l].cat, cnode, i) { in mls_context_isvalid()
580 ebitmap_for_each_bit(&c->range.level[l].cat, cnode, i) { in mls_convert_context()
Dlink.c965 ebitmap_for_each_bit(&types->types, tnode, i) { in type_set_convert()
974 ebitmap_for_each_bit(&types->negset, tnode, i) { in type_set_convert()
1022 ebitmap_for_each_bit(&roles->roles, rnode, i) { in role_set_or_convert()
1118 ebitmap_for_each_bit(&role->dominates, rnode, i) { in role_fix_callback()
1137 ebitmap_for_each_bit(&role->roles, rnode, i) { in role_fix_callback()
1192 ebitmap_for_each_bit(&type->types, tnode, i) { in type_fix_callback()
1382 ebitmap_for_each_bit(&cur->classes, cnode, i) { in copy_role_trans_list()
1524 ebitmap_for_each_bit(&rule->tclasses, cnode, i) { in copy_range_trans_list()
1672 ebitmap_for_each_bit(srcmap, node, j) { in copy_scope_index()
1704 ebitmap_for_each_bit(srcmap, node, j) { in copy_scope_index()
[all …]
Dhierarchy.c114 ebitmap_for_each_bit(&p->attr_type_map[tgt - 1], tnode, i) { in bounds_expand_rule()
126 ebitmap_for_each_bit(&p->attr_type_map[src - 1], tnode, i) { in bounds_expand_rule()
313 ebitmap_for_each_bit(&p->attr_type_map[tgt - 1], tnode, i) { in bounds_check_rule()
334 ebitmap_for_each_bit(&p->attr_type_map[src - 1], tnode, i) { in bounds_check_rule()
Dusers.c35 ebitmap_for_each_bit(roles, rnode, bit) { in user_to_record()
170 ebitmap_for_each_bit(&roldatum->dominates, rnode, bit) { in sepol_user_modify()
Dmodule_to_cil.c705 ebitmap_for_each_bit(pos, node, i) { in cil_print_attr_strs()
717 ebitmap_for_each_bit(neg, node, i) { in cil_print_attr_strs()
746 ebitmap_for_each_bit(map, node, i) { in ebitmap_to_cil()
772 ebitmap_for_each_bit(&map, node, i) { in ebitmap_to_names()
1368 ebitmap_for_each_bit(&rule->classes, node, i) { in role_trans_to_cil()
1470 ebitmap_for_each_bit(&rule->tclasses, node, i) { in range_trans_to_cil()
1989 ebitmap_for_each_bit(&order, node, i) { in class_order_to_cil()
2087 ebitmap_for_each_bit(&role->roles, node, i) { in role_to_cil()
2201 ebitmap_for_each_bit(&roles, node, i) { in user_to_cil()
2291 ebitmap_for_each_bit(&order, node, i) { in sens_order_to_cil()
[all …]
Dgenusers.c171 ebitmap_for_each_bit(&roldatum->dominates, rnode, bit) {
Dservices.c873 ebitmap_for_each_bit(sattr, snode, i) { in context_struct_compute_av()
876 ebitmap_for_each_bit(tattr, tnode, j) { in context_struct_compute_av()
2023 ebitmap_for_each_bit(&user->roles.roles, rnode, i) { in sepol_get_user_sids()
2028 ebitmap_for_each_bit(&role->types.types, tnode, j) { in sepol_get_user_sids()
Dwrite.c1629 ebitmap_for_each_bit(in, node, i) { in only_process()
2053 ebitmap_for_each_bit(&p->permissive_map, tnode, i) { in policydb_write()
Dpolicydb.c1815 ebitmap_for_each_bit(&l->cat, cnode, i) { in mls_level_to_semantic()
3926 ebitmap_for_each_bit(&p->type_attr_map[i], in policydb_read()
/external/selinux/policycoreutils/mcstrans/src/
Dmls_level.c93 ebitmap_for_each_bit(&l->cat, cnode, i) { in mls_compute_string_len()
132 ebitmap_for_each_bit(&l->cat, cnode, i) { in mls_level_to_string()
/external/selinux/libsepol/tests/
Dtest-expander-users.c48 ebitmap_for_each_bit(&user->roles.roles, tnode, i) { in check_user_roles()
Dtest-common.c201 ebitmap_for_each_bit(&role->types.types, tnode, i) { in test_role_type_set()
244 ebitmap_for_each_bit(&attr->types, tnode, i) { in test_attr_types()
Dtest-linker-roles.c61 ebitmap_for_each_bit(&role->dominates, tnode, i) { in only_dominates_self()
/external/selinux/libsepol/include/sepol/policydb/
Debitmap.h75 #define ebitmap_for_each_bit(e, n, bit) \ macro
/external/selinux/checkpolicy/
Dpolicy_define.c1573 ebitmap_for_each_bit(&tclasses, node, i) { in define_compute_type_helper()
1996 ebitmap_for_each_bit(&tclasses, node, i) { in define_te_avtab_xperms_helper()
2454 ebitmap_for_each_bit(&tclasses, node, i) { in define_te_avtab_helper()
2475 ebitmap_for_each_bit(&tclasses, node, i) { in define_te_avtab_helper()
2813 ebitmap_for_each_bit(&rdp->dominates, node, i) { in dominate_role_recheck()
2819 ebitmap_for_each_bit(&types, node, i) { in dominate_role_recheck()
2901 ebitmap_for_each_bit(&r->dominates, node, i) { in define_role_dom()
2910 ebitmap_for_each_bit(&types, node, i) { in define_role_dom()
3094 ebitmap_for_each_bit(&e_roles, rnode, i) { in define_role_trans()
3097 ebitmap_for_each_bit(&e_types, tnode, j) { in define_role_trans()
[all …]
/external/selinux/libsepol/cil/src/
Dcil_binary.c437 ebitmap_for_each_bit(role->types, tnode, i) { in cil_roletype_to_policydb()
646 ebitmap_for_each_bit(cil_attr->types, tnode, i) { in cil_typeattribute_to_bitmap()
742 ebitmap_for_each_bit(user->roles, rnode, i) { in cil_userrole_to_policydb()
1080 ebitmap_for_each_bit(&src_bitmap, node1, i) { in __cil_type_rule_to_avtab()
1086 ebitmap_for_each_bit(&tgt_bitmap, node2, j) { in __cil_type_rule_to_avtab()
1153 ebitmap_for_each_bit(&src_bitmap, node1, i) { in __cil_typetransition_to_avtab()
1159 ebitmap_for_each_bit(&tgt_bitmap, node2, j) { in __cil_typetransition_to_avtab()
1423 ebitmap_for_each_bit(&type_bitmap, tnode, i) { in __cil_avrule_to_avtab()
1498 ebitmap_for_each_bit(xperms, node, i) { in __cil_permx_bitmap_to_sepol_xperms_list()
1731 ebitmap_for_each_bit(&type_bitmap, tnode, i) { in cil_avrulex_to_hashtable()
[all …]
Dcil_post.c1317 ebitmap_for_each_bit(attr->roles, rnode, i) { in __cil_post_db_roletype_helper()
1414 ebitmap_for_each_bit(u_attr->users, unode, i) { in __cil_post_db_userrole_helper()
/external/selinux/checkpolicy/test/
Ddispol.c285 ebitmap_for_each_bit(&p->policycaps, node, i) { in display_policycaps()
310 ebitmap_for_each_bit(&p->permissive_map, node, i) { in display_permissive()
Ddismod.c803 ebitmap_for_each_bit(&p->policycaps, node, i) { in display_policycaps()
/external/selinux/policycoreutils/semodule_deps/
Dsemodule_deps.c169 ebitmap_for_each_bit(b, node, j) { in generate_requires()