Home
last modified time | relevance | path

Searched refs:ebitmap_for_each_positive_bit (Results 1 – 24 of 24) sorted by relevance

/external/selinux/libsepol/src/
Dassertion.c160 ebitmap_for_each_positive_bit(sattr, snode, i) { in report_assertion_extended_permissions()
161 ebitmap_for_each_positive_bit(tattr, tnode, j) { in report_assertion_extended_permissions()
269 ebitmap_for_each_positive_bit(&src_matches, snode, i) { in report_assertion_avtab_matches()
270 ebitmap_for_each_positive_bit(&tgt_matches, tnode, j) { in report_assertion_avtab_matches()
339 ebitmap_for_each_positive_bit(sattr, snode, i) { in check_assertion_extended_permissions_avtab()
340 ebitmap_for_each_positive_bit(tattr, tnode, j) { in check_assertion_extended_permissions_avtab()
427 ebitmap_for_each_positive_bit(&src_matches, snode, i) { in check_assertion_extended_permissions()
428 ebitmap_for_each_positive_bit(&tgt_matches, tnode, j) { in check_assertion_extended_permissions()
Dexpand.c65 ebitmap_for_each_positive_bit(src, tnode, i) { in map_ebitmap()
772 ebitmap_for_each_positive_bit(&role->roles, rnode, i) { in role_fix_callback()
1243 ebitmap_for_each_positive_bit(&roles, snode, i) { in copy_role_allows()
1244 ebitmap_for_each_positive_bit(&new_roles, tnode, j) { in copy_role_allows()
1307 ebitmap_for_each_positive_bit(&roles, rnode, i) { in copy_role_trans()
1308 ebitmap_for_each_positive_bit(&types, tnode, j) { in copy_role_trans()
1309 ebitmap_for_each_positive_bit(&cur->classes, cnode, k) { in copy_role_trans()
1402 ebitmap_for_each_positive_bit(&stypes, snode, i) { in expand_filename_trans()
1403 ebitmap_for_each_positive_bit(&ttypes, tnode, j) { in expand_filename_trans()
1568 ebitmap_for_each_positive_bit(&stypes, snode, i) { in expand_range_trans()
[all …]
Dlink.c965 ebitmap_for_each_positive_bit(&types->types, tnode, i) { in type_set_convert()
972 ebitmap_for_each_positive_bit(&types->negset, tnode, i) { in type_set_convert()
1018 ebitmap_for_each_positive_bit(&roles->roles, rnode, i) { in role_set_or_convert()
1112 ebitmap_for_each_positive_bit(&role->dominates, rnode, i) { in role_fix_callback()
1129 ebitmap_for_each_positive_bit(&role->roles, rnode, i) { in role_fix_callback()
1182 ebitmap_for_each_positive_bit(&type->types, tnode, i) { in type_fix_callback()
1379 ebitmap_for_each_positive_bit(&cur->classes, cnode, i) { in copy_role_trans_list()
1519 ebitmap_for_each_positive_bit(&rule->tclasses, cnode, i) { in copy_range_trans_list()
1665 ebitmap_for_each_positive_bit(srcmap, node, j) { in copy_scope_index()
1695 ebitmap_for_each_positive_bit(srcmap, node, j) { in copy_scope_index()
[all …]
Dusers.c40 ebitmap_for_each_positive_bit(roles, rnode, bit) { in user_to_record()
171 ebitmap_for_each_positive_bit(&roldatum->dominates, rnode, bit) { in sepol_user_modify()
Dmodule_to_cil.c736 ebitmap_for_each_positive_bit(map, node, i) { in ebitmap_to_cil()
863 ebitmap_for_each_positive_bit(pos, node, i) { in cil_print_attr_strs()
872 ebitmap_for_each_positive_bit(neg, node, i) { in cil_print_attr_strs()
994 ebitmap_for_each_positive_bit(map, node, i) { in ebitmap_to_names()
1017 ebitmap_for_each_positive_bit(map, node, i) { in ebitmap_to_names()
1460 ebitmap_for_each_positive_bit(&rule->classes, node, i) { in role_trans_to_cil()
1556 ebitmap_for_each_positive_bit(&rule->tclasses, node, i) { in range_trans_to_cil()
2079 ebitmap_for_each_positive_bit(&order, node, i) { in class_order_to_cil()
2181 ebitmap_for_each_positive_bit(&role->roles, node, i) { in role_to_cil()
2310 ebitmap_for_each_positive_bit(&roles, node, i) { in user_to_cil()
[all …]
Doptimize.c145 ebitmap_for_each_positive_bit(&type_map[s_idx], snode, i) { in is_avrule_redundant()
148 ebitmap_for_each_positive_bit(&type_map[t_idx], tnode, k) { in is_avrule_redundant()
Dmls.c292 ebitmap_for_each_positive_bit(&c->range.level[l].cat, cnode, i) { in mls_context_isvalid()
580 ebitmap_for_each_positive_bit(&c->range.level[l].cat, cnode, i) { in mls_convert_context()
Dhierarchy.c114 ebitmap_for_each_positive_bit(&p->attr_type_map[tgt - 1], tnode, i) { in bounds_expand_rule()
299 ebitmap_for_each_positive_bit(&p->attr_type_map[tgt - 1], tnode, i) { in bounds_check_rule()
Dservices.c936 ebitmap_for_each_positive_bit(sattr, snode, i) { in context_struct_compute_av()
937 ebitmap_for_each_positive_bit(tattr, tnode, j) { in context_struct_compute_av()
2193 ebitmap_for_each_positive_bit(&user->roles.roles, rnode, i) { in sepol_get_user_sids()
2196 ebitmap_for_each_positive_bit(&role->types.types, tnode, j) { in sepol_get_user_sids()
Dkernel_to_conf.c1000 ebitmap_for_each_positive_bit(cats, node, i) { in cats_ebitmap_len()
1039 ebitmap_for_each_positive_bit(cats, node, i) { in cats_ebitmap_to_str()
1154 ebitmap_for_each_positive_bit(&pdb->policycaps, node, i) { in write_polcap_rules_to_conf()
1604 ebitmap_for_each_positive_bit(&pdb->permissive_map, node, i) { in write_type_permissive_rules_to_conf()
Dkernel_to_cil.c1003 ebitmap_for_each_positive_bit(cats, node, i) { in cats_ebitmap_len()
1051 ebitmap_for_each_positive_bit(cats, node, i) { in cats_ebitmap_to_str()
1168 ebitmap_for_each_positive_bit(&pdb->policycaps, node, i) { in write_polcap_rules_to_cil()
1547 ebitmap_for_each_positive_bit(&pdb->permissive_map, node, i) { in write_type_permissive_rules_to_cil()
Dkernel_to_common.c363 ebitmap_for_each_positive_bit(map, node, i) { in ebitmap_to_strs()
Dwrite.c1792 ebitmap_for_each_positive_bit(in, node, i) { in only_process()
2217 ebitmap_for_each_positive_bit(&p->permissive_map, tnode, i) { in policydb_write()
Dpolicydb.c4266 ebitmap_for_each_positive_bit(&p->type_attr_map[i], in policydb_read()
/external/selinux/libsepol/tests/
Dtest-expander-users.c49 ebitmap_for_each_positive_bit(&user->roles.roles, tnode, i) { in check_user_roles()
Dtest-common.c202 ebitmap_for_each_positive_bit(&role->types.types, tnode, i) { in test_role_type_set()
247 ebitmap_for_each_positive_bit(&attr->types, tnode, i) { in test_attr_types()
Dtest-linker-roles.c61 ebitmap_for_each_positive_bit(&role->dominates, tnode, i) { in only_dominates_self()
/external/selinux/libsepol/cil/src/
Dcil_binary.c439 ebitmap_for_each_positive_bit(role->types, tnode, i) { in cil_roletype_to_policydb()
648 ebitmap_for_each_positive_bit(cil_attr->types, tnode, i) { in cil_typeattribute_to_bitmap()
742 ebitmap_for_each_positive_bit(user->roles, rnode, i) { in cil_userrole_to_policydb()
1095 ebitmap_for_each_positive_bit(&src_bitmap, node1, i) { in __cil_type_rule_to_avtab()
1099 ebitmap_for_each_positive_bit(&tgt_bitmap, node2, j) { in __cil_type_rule_to_avtab()
1168 ebitmap_for_each_positive_bit(&src_bitmap, node1, i) { in __cil_typetransition_to_avtab()
1172 ebitmap_for_each_positive_bit(&tgt_bitmap, node2, j) { in __cil_typetransition_to_avtab()
1447 ebitmap_for_each_positive_bit(&src_bitmap, snode, s) { in __cil_avrule_to_avtab()
1476 ebitmap_for_each_positive_bit(&src_bitmap, snode, s) { in __cil_avrule_to_avtab()
1478 ebitmap_for_each_positive_bit(&tgt_bitmap, tnode, t) { in __cil_avrule_to_avtab()
[all …]
Dcil_policy.c345 ebitmap_for_each_positive_bit(attr->users, unode, i) { in __cil_userattribute_len()
455 ebitmap_for_each_positive_bit(attr->users, unode, i) { in __cil_userattribute_to_string()
1120 ebitmap_for_each_positive_bit(permx->perms, node, i) { in cil_xperms_to_policy()
Dcil_post.c1657 ebitmap_for_each_positive_bit(attr->roles, rnode, i) { in __cil_post_db_roletype_helper()
1750 ebitmap_for_each_positive_bit(u_attr->users, unode, i) { in __cil_post_db_userrole_helper()
/external/selinux/libsepol/include/sepol/policydb/
Debitmap.h79 #define ebitmap_for_each_positive_bit(e, n, bit) \ macro
/external/selinux/checkpolicy/
Dpolicy_define.c1213 ebitmap_for_each_positive_bit(&attrs, node, i) { in expand_attrib()
1673 ebitmap_for_each_positive_bit(&tclasses, node, i) { in define_compute_type_helper()
2099 ebitmap_for_each_positive_bit(&tclasses, node, i) { in define_te_avtab_xperms_helper()
2561 ebitmap_for_each_positive_bit(&tclasses, node, i) { in define_te_avtab_helper()
2580 ebitmap_for_each_positive_bit(&tclasses, node, i) { in define_te_avtab_helper()
2922 ebitmap_for_each_positive_bit(&rdp->dominates, node, i) { in dominate_role_recheck()
2926 ebitmap_for_each_positive_bit(&types, node, i) { in dominate_role_recheck()
3006 ebitmap_for_each_positive_bit(&r->dominates, node, i) { in define_role_dom()
3014 ebitmap_for_each_positive_bit(&types, node, i) { in define_role_dom()
3199 ebitmap_for_each_positive_bit(&e_roles, rnode, i) { in define_role_trans()
[all …]
/external/selinux/checkpolicy/test/
Ddispol.c285 ebitmap_for_each_positive_bit(&p->policycaps, node, i) { in display_policycaps()
308 ebitmap_for_each_positive_bit(&p->permissive_map, node, i) { in display_permissive()
Ddismod.c828 ebitmap_for_each_positive_bit(&p->policycaps, node, i) { in display_policycaps()