/external/selinux/libsepol/src/ |
D | assertion.c | 48 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() 181 p->p_class_val_to_name[curperm->tclass - 1], in report_assertion_extended_permissions() 198 p->p_class_val_to_name[curperm->tclass - 1], in report_assertion_extended_permissions()
|
D | kernel_to_cil.c | 358 name = pdb->p_class_val_to_name[i]; in constraint_rules_to_strs() 383 name = pdb->p_class_val_to_name[i]; in validatetrans_rules_to_strs() 460 name = pdb->p_class_val_to_name[i]; in write_class_decl_rules_to_cil() 477 name = pdb->p_class_val_to_name[i]; in write_class_decl_rules_to_cil() 487 name = pdb->p_class_val_to_name[i]; in write_class_decl_rules_to_cil() 727 rc = write_default_user_to_cil(out, pdb->p_class_val_to_name[i], class); in write_default_rules_to_cil() 738 rc = write_default_role_to_cil(out, pdb->p_class_val_to_name[i], class); in write_default_rules_to_cil() 749 rc = write_default_type_to_cil(out, pdb->p_class_val_to_name[i], class); in write_default_rules_to_cil() 764 rc = write_default_range_to_cil(out, pdb->p_class_val_to_name[i], class); in write_default_rules_to_cil() 1701 class = pdb->p_class_val_to_name[key->target_class - 1]; in avtab_node_to_str() [all …]
|
D | kernel_to_conf.c | 358 name = pdb->p_class_val_to_name[i]; in constraint_rules_to_strs() 383 name = pdb->p_class_val_to_name[i]; in validatetrans_rules_to_strs() 428 name = pdb->p_class_val_to_name[i]; in write_class_decl_rules_to_conf() 576 name = pdb->p_class_val_to_name[i]; in write_class_and_common_rules_to_conf() 702 rc = write_default_user_to_conf(out, pdb->p_class_val_to_name[i], class); in write_default_rules_to_conf() 713 rc = write_default_role_to_conf(out, pdb->p_class_val_to_name[i], class); in write_default_rules_to_conf() 724 rc = write_default_type_to_conf(out, pdb->p_class_val_to_name[i], class); in write_default_rules_to_conf() 739 rc = write_default_range_to_conf(out, pdb->p_class_val_to_name[i], class); in write_default_rules_to_conf() 1682 class = pdb->p_class_val_to_name[key->target_class - 1]; in avtab_node_to_str() 1814 class = pdb->p_class_val_to_name[ft->tclass - 1]; in map_filename_trans_to_str() [all …]
|
D | module_to_cil.c | 607 pdb->p_class_val_to_name[classperm->tclass - 1], in avrule_to_cil() 612 pdb->p_class_val_to_name[classperm->tclass - 1], in avrule_to_cil() 709 "ioctl", pdb->p_class_val_to_name[classperm->tclass - 1]); in avrulex_to_cil() 1463 pdb->p_class_val_to_name[i], in role_trans_to_cil() 1558 …il_printf("(rangetransition %s %s %s ", stypes[stype], ttypes[ttype], pdb->p_class_val_to_name[i]); in range_trans_to_cil() 1622 pdb->p_class_val_to_name[rule->tclass - 1], in filename_trans_to_cil()
|
D | link.c | 2020 id = pol->p_class_val_to_name[i]; in is_decl_requires_met() 2093 p->p_class_val_to_name[req.symbol_value - 1], in debug_requirements() 2099 p->p_class_val_to_name[req.symbol_value - 1], in debug_requirements() 2152 p->p_class_val_to_name[req->symbol_value - 1], fparg.key); in print_missing_requirements()
|
D | expand.c | 1329 state->out->p_class_val_to_name[k], in copy_role_trans() 1418 state->out->p_class_val_to_name[cur_rule->tclass - 1], in expand_filename_trans() 1507 state->out->p_class_val_to_name[tclass - 1]); in exp_rangetr_helper() 1738 p->p_class_val_to_name[avkey.target_class - in expand_terule_helper() 1747 p->p_class_val_to_name[avkey.target_class - 1], in expand_terule_helper()
|
D | policydb.c | 1012 if (p->p_class_val_to_name[cladatum->s.value - 1] != NULL) in class_index() 1014 p->p_class_val_to_name[cladatum->s.value - 1] = (char *)key; in class_index() 1141 free(p->p_class_val_to_name); in policydb_index_classes() 1142 p->p_class_val_to_name = (char **) in policydb_index_classes() 1144 if (!p->p_class_val_to_name) in policydb_index_classes() 2665 p->p_class_val_to_name[ft->tclass - 1], in filename_trans_read()
|
D | hierarchy.c | 449 p->p_class_val_to_name[cur->key.target_class - 1], in bounds_report()
|
D | services.c | 344 policydb->p_class_val_to_name[tclass - 1]); in get_class_info() 1351 n, s, t, policydb->p_class_val_to_name[tclass - 1]); in compute_sid_handle_invalid_context()
|
D | write.c | 1045 p->p_class_val_to_name[cladatum->s.value - 1], p->policyvers, in class_write()
|
/external/selinux/python/audit2allow/ |
D | sepolgen-ifgen-attr-helper.c | 93 tclass = p->p_class_val_to_name[key->target_class - 1]; in render_key()
|
/external/selinux/checkpolicy/ |
D | policy_define.c | 2127 policydbp->p_class_val_to_name[i]); in define_te_avtab_xperms_helper() 2129 } else if (!is_perm_in_scope (id, policydbp->p_class_val_to_name[i])) { in define_te_avtab_xperms_helper() 2132 policydbp->p_class_val_to_name[i]); in define_te_avtab_xperms_helper() 2611 policydbp->p_class_val_to_name[i]); in define_te_avtab_helper() 2615 (id, policydbp->p_class_val_to_name[i])) { in define_te_avtab_helper() 2619 policydbp->p_class_val_to_name[i]); in define_te_avtab_helper() 3212 policydbp->p_class_val_to_name[k]); in define_role_trans() 3413 policydbp->p_class_val_to_name[c]); in define_filename_trans()
|
/external/selinux/checkpolicy/test/ |
D | dispol.c | 68 tclass = p->p_class_val_to_name[key->target_class - 1]; in render_key()
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 535 #define p_class_val_to_name sym_val_to_name[SYM_CLASSES] macro
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 1015 pdb->p_class_val_to_name[obj - 1], in __cil_insert_type_rule() 1048 pdb->p_class_val_to_name[obj - 1], in __cil_insert_type_rule() 3903 pdb->p_class_val_to_name[class->s.value - 1] = (char *)key; in __cil_class_val_array_insert() 4001 policydb->p_class_val_to_name = cil_malloc(sizeof(char *) * policydb->p_classes.nprim); in __cil_policydb_val_arrays_create()
|