Home
last modified time | relevance | path

Searched refs:ebitmap_for_each_bit (Results 1 – 23 of 23) 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()
273 ebitmap_for_each_bit(&src_matches, snode, i) { in report_assertion_avtab_matches()
276 ebitmap_for_each_bit(&tgt_matches, tnode, j) { in report_assertion_avtab_matches()
348 ebitmap_for_each_bit(sattr, snode, i) { in check_assertion_extended_permissions_avtab()
351 ebitmap_for_each_bit(tattr, tnode, j) { in check_assertion_extended_permissions_avtab()
440 ebitmap_for_each_bit(&src_matches, snode, i) { in check_assertion_extended_permissions()
443 ebitmap_for_each_bit(&tgt_matches, tnode, j) { in check_assertion_extended_permissions()
Dexpand.c64 ebitmap_for_each_bit(src, tnode, i) { in map_ebitmap()
773 ebitmap_for_each_bit(&role->roles, rnode, i) { in role_fix_callback()
1246 ebitmap_for_each_bit(&roles, snode, i) { in copy_role_allows()
1249 ebitmap_for_each_bit(&new_roles, tnode, j) { in copy_role_allows()
1314 ebitmap_for_each_bit(&roles, rnode, i) { in copy_role_trans()
1317 ebitmap_for_each_bit(&types, tnode, j) { in copy_role_trans()
1320 ebitmap_for_each_bit(&cur->classes, cnode, k) { in copy_role_trans()
1416 ebitmap_for_each_bit(&stypes, snode, i) { in expand_filename_trans()
1419 ebitmap_for_each_bit(&ttypes, tnode, j) { in expand_filename_trans()
1581 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()
292 ebitmap_for_each_bit(&c->range.level[l].cat, cnode, i) { in mls_context_isvalid()
582 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 …]
Dmodule_to_cil.c722 ebitmap_for_each_bit(map, node, i) { in ebitmap_to_cil()
852 ebitmap_for_each_bit(pos, node, i) { in cil_print_attr_strs()
864 ebitmap_for_each_bit(neg, node, i) { in cil_print_attr_strs()
990 ebitmap_for_each_bit(map, node, i) { in ebitmap_to_names()
1003 ebitmap_for_each_bit(map, node, i) { in ebitmap_to_names()
1444 ebitmap_for_each_bit(&rule->classes, node, i) { in role_trans_to_cil()
1543 ebitmap_for_each_bit(&rule->tclasses, node, i) { in range_trans_to_cil()
2061 ebitmap_for_each_bit(&order, node, i) { in class_order_to_cil()
2166 ebitmap_for_each_bit(&role->roles, node, i) { in role_to_cil()
2285 ebitmap_for_each_bit(&roles, node, i) { in user_to_cil()
[all …]
Dusers.c40 ebitmap_for_each_bit(roles, rnode, bit) { in user_to_record()
173 ebitmap_for_each_bit(&roldatum->dominates, rnode, bit) { in sepol_user_modify()
Dgenusers.c172 ebitmap_for_each_bit(&roldatum->dominates, rnode, bit) {
Dhierarchy.c114 ebitmap_for_each_bit(&p->attr_type_map[tgt - 1], tnode, i) { in bounds_expand_rule()
301 ebitmap_for_each_bit(&p->attr_type_map[tgt - 1], tnode, i) { in bounds_check_rule()
Dservices.c935 ebitmap_for_each_bit(sattr, snode, i) { in context_struct_compute_av()
938 ebitmap_for_each_bit(tattr, tnode, j) { in context_struct_compute_av()
2123 ebitmap_for_each_bit(&user->roles.roles, rnode, i) { in sepol_get_user_sids()
2128 ebitmap_for_each_bit(&role->types.types, tnode, j) { in sepol_get_user_sids()
Dwrite.c1698 ebitmap_for_each_bit(in, node, i) { in only_process()
2122 ebitmap_for_each_bit(&p->permissive_map, tnode, i) { in policydb_write()
Dpolicydb.c1919 ebitmap_for_each_bit(&l->cat, cnode, i) { in mls_level_to_semantic()
4100 ebitmap_for_each_bit(&p->type_attr_map[i], in policydb_read()
/external/selinux/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.c200 ebitmap_for_each_bit(&role->types.types, tnode, i) { in test_role_type_set()
243 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/cil/src/
Dcil_binary.c440 ebitmap_for_each_bit(role->types, tnode, i) { in cil_roletype_to_policydb()
651 ebitmap_for_each_bit(cil_attr->types, tnode, i) { in cil_typeattribute_to_bitmap()
747 ebitmap_for_each_bit(user->roles, rnode, i) { in cil_userrole_to_policydb()
1090 ebitmap_for_each_bit(&src_bitmap, node1, i) { in __cil_type_rule_to_avtab()
1096 ebitmap_for_each_bit(&tgt_bitmap, node2, j) { in __cil_type_rule_to_avtab()
1163 ebitmap_for_each_bit(&src_bitmap, node1, i) { in __cil_typetransition_to_avtab()
1169 ebitmap_for_each_bit(&tgt_bitmap, node2, j) { in __cil_typetransition_to_avtab()
1456 ebitmap_for_each_bit(&src_bitmap, snode, s) { in __cil_avrule_to_avtab()
1487 ebitmap_for_each_bit(&src_bitmap, snode, s) { in __cil_avrule_to_avtab()
1490 ebitmap_for_each_bit(&tgt_bitmap, tnode, t) { in __cil_avrule_to_avtab()
[all …]
Dcil_policy.c345 ebitmap_for_each_bit(attr->users, unode, i) { in __cil_userattribute_len()
457 ebitmap_for_each_bit(attr->users, unode, i) { in __cil_userattribute_to_string()
1121 ebitmap_for_each_bit(permx->perms, node, i) { in cil_xperms_to_policy()
Dcil_post.c1351 ebitmap_for_each_bit(attr->roles, rnode, i) { in __cil_post_db_roletype_helper()
1448 ebitmap_for_each_bit(u_attr->users, unode, i) { in __cil_post_db_userrole_helper()
/external/selinux/libsepol/include/sepol/policydb/
Debitmap.h76 #define ebitmap_for_each_bit(e, n, bit) \ macro
/external/selinux/checkpolicy/
Dpolicy_define.c1583 ebitmap_for_each_bit(&tclasses, node, i) { in define_compute_type_helper()
2011 ebitmap_for_each_bit(&tclasses, node, i) { in define_te_avtab_xperms_helper()
2475 ebitmap_for_each_bit(&tclasses, node, i) { in define_te_avtab_helper()
2496 ebitmap_for_each_bit(&tclasses, node, i) { in define_te_avtab_helper()
2840 ebitmap_for_each_bit(&rdp->dominates, node, i) { in dominate_role_recheck()
2846 ebitmap_for_each_bit(&types, node, i) { in dominate_role_recheck()
2928 ebitmap_for_each_bit(&r->dominates, node, i) { in define_role_dom()
2937 ebitmap_for_each_bit(&types, node, i) { in define_role_dom()
3124 ebitmap_for_each_bit(&e_roles, rnode, i) { in define_role_trans()
3127 ebitmap_for_each_bit(&e_types, tnode, j) { in define_role_trans()
[all …]
/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/semodule-utils/semodule_deps/
Dsemodule_deps.c165 ebitmap_for_each_bit(b, node, j) { in generate_requires()