Home
last modified time | relevance | path

Searched refs:p_class_val_to_name (Results 1 – 14 of 14) sorted by relevance

/external/selinux/libsepol/src/
Dassertion.c48 p->p_class_val_to_name[curperm->tclass - 1], in report_failure()
54 p->p_class_val_to_name[curperm->tclass - 1], in report_failure()
60 p->p_class_val_to_name[curperm->tclass - 1], in report_failure()
185 p->p_class_val_to_name[curperm->tclass - 1], in report_assertion_extended_permissions()
202 p->p_class_val_to_name[curperm->tclass - 1], in report_assertion_extended_permissions()
Dkernel_to_cil.c354 name = pdb->p_class_val_to_name[i]; in constraint_rules_to_strs()
379 name = pdb->p_class_val_to_name[i]; in validatetrans_rules_to_strs()
456 name = pdb->p_class_val_to_name[i]; in write_class_decl_rules_to_cil()
473 name = pdb->p_class_val_to_name[i]; in write_class_decl_rules_to_cil()
483 name = pdb->p_class_val_to_name[i]; in write_class_decl_rules_to_cil()
720 rc = write_default_user_to_cil(out, pdb->p_class_val_to_name[i], class); in write_default_rules_to_cil()
731 rc = write_default_role_to_cil(out, pdb->p_class_val_to_name[i], class); in write_default_rules_to_cil()
742 rc = write_default_type_to_cil(out, pdb->p_class_val_to_name[i], class); in write_default_rules_to_cil()
757 rc = write_default_range_to_cil(out, pdb->p_class_val_to_name[i], class); in write_default_rules_to_cil()
1703 class = pdb->p_class_val_to_name[key->target_class - 1]; in avtab_node_to_str()
[all …]
Dkernel_to_conf.c354 name = pdb->p_class_val_to_name[i]; in constraint_rules_to_strs()
379 name = pdb->p_class_val_to_name[i]; in validatetrans_rules_to_strs()
424 name = pdb->p_class_val_to_name[i]; in write_class_decl_rules_to_conf()
568 name = pdb->p_class_val_to_name[i]; in write_class_and_common_rules_to_conf()
691 rc = write_default_user_to_conf(out, pdb->p_class_val_to_name[i], class); in write_default_rules_to_conf()
702 rc = write_default_role_to_conf(out, pdb->p_class_val_to_name[i], class); in write_default_rules_to_conf()
713 rc = write_default_type_to_conf(out, pdb->p_class_val_to_name[i], class); in write_default_rules_to_conf()
728 rc = write_default_range_to_conf(out, pdb->p_class_val_to_name[i], class); in write_default_rules_to_conf()
1672 class = pdb->p_class_val_to_name[key->target_class - 1]; in avtab_node_to_str()
1804 class = pdb->p_class_val_to_name[ft->tclass - 1]; in map_filename_trans_to_str()
[all …]
Dmodule_to_cil.c606 pdb->p_class_val_to_name[classperm->tclass - 1], in avrule_to_cil()
611 pdb->p_class_val_to_name[classperm->tclass - 1], in avrule_to_cil()
708 "ioctl", pdb->p_class_val_to_name[classperm->tclass - 1]); in avrulex_to_cil()
1478 pdb->p_class_val_to_name[i], in role_trans_to_cil()
1577 …il_printf("(rangetransition %s %s %s ", stypes[stype], ttypes[ttype], pdb->p_class_val_to_name[i]); in range_trans_to_cil()
1641 pdb->p_class_val_to_name[rule->tclass - 1], in filename_trans_to_cil()
Dlink.c2046 id = pol->p_class_val_to_name[i]; in is_decl_requires_met()
2119 p->p_class_val_to_name[req.symbol_value - 1], in debug_requirements()
2125 p->p_class_val_to_name[req.symbol_value - 1], in debug_requirements()
2178 p->p_class_val_to_name[req->symbol_value - 1], fparg.key); in print_missing_requirements()
Dexpand.c1344 state->out->p_class_val_to_name[k], in copy_role_trans()
1438 state->out->p_class_val_to_name[cur_rule->tclass - 1], in expand_filename_trans()
1527 state->out->p_class_val_to_name[tclass - 1]); in exp_rangetr_helper()
1765 p->p_class_val_to_name[avkey.target_class - in expand_terule_helper()
1774 p->p_class_val_to_name[avkey.target_class - 1], in expand_terule_helper()
Dpolicydb.c990 if (p->p_class_val_to_name[cladatum->s.value - 1] != NULL) in class_index()
992 p->p_class_val_to_name[cladatum->s.value - 1] = (char *)key; in class_index()
1119 free(p->p_class_val_to_name); in policydb_index_classes()
1120 p->p_class_val_to_name = (char **) in policydb_index_classes()
1122 if (!p->p_class_val_to_name) in policydb_index_classes()
2647 p->p_class_val_to_name[ft->tclass - 1], in filename_trans_read()
Dhierarchy.c453 p->p_class_val_to_name[cur->key.target_class - 1], in bounds_report()
Dservices.c344 policydb->p_class_val_to_name[tclass - 1]); in get_class_info()
1355 n, s, t, policydb->p_class_val_to_name[tclass - 1]); in compute_sid_handle_invalid_context()
/external/selinux/python/audit2allow/
Dsepolgen-ifgen-attr-helper.c93 tclass = p->p_class_val_to_name[key->target_class - 1]; in render_key()
/external/selinux/checkpolicy/
Dpolicy_define.c2134 policydbp->p_class_val_to_name[i]); in define_te_avtab_xperms_helper()
2136 } else if (!is_perm_in_scope (id, policydbp->p_class_val_to_name[i])) { in define_te_avtab_xperms_helper()
2139 policydbp->p_class_val_to_name[i]); in define_te_avtab_xperms_helper()
2622 policydbp->p_class_val_to_name[i]); in define_te_avtab_helper()
2626 (id, policydbp->p_class_val_to_name[i])) { in define_te_avtab_helper()
2630 policydbp->p_class_val_to_name[i]); in define_te_avtab_helper()
3236 policydbp->p_class_val_to_name[k]); in define_role_trans()
3444 policydbp->p_class_val_to_name[c]); in define_filename_trans()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h534 #define p_class_val_to_name sym_val_to_name[SYM_CLASSES] macro
/external/selinux/checkpolicy/test/
Ddispol.c68 tclass = p->p_class_val_to_name[key->target_class - 1]; in render_key()
/external/selinux/libsepol/cil/src/
Dcil_binary.c1028 pdb->p_class_val_to_name[obj - 1], in __cil_insert_type_rule()
1061 pdb->p_class_val_to_name[obj - 1], in __cil_insert_type_rule()
3988 pdb->p_class_val_to_name[class->s.value - 1] = (char *)key; in __cil_class_val_array_insert()
4086 policydb->p_class_val_to_name = cil_malloc(sizeof(char *) * policydb->p_classes.nprim); in __cil_policydb_val_arrays_create()