/third_party/selinux/libsepol/src/ |
D | assertion.c | 56 p->p_class_val_to_name[curperm->tclass - 1], in report_failure() 62 p->p_class_val_to_name[curperm->tclass - 1], in report_failure() 68 p->p_class_val_to_name[curperm->tclass - 1], in report_failure() 187 p->p_class_val_to_name[curperm->tclass - 1], in report_assertion_extended_permissions() 203 p->p_class_val_to_name[curperm->tclass - 1], in report_assertion_extended_permissions()
|
D | kernel_to_conf.c | 373 name = pdb->p_class_val_to_name[i]; in constraint_rules_to_strs() 398 name = pdb->p_class_val_to_name[i]; in validatetrans_rules_to_strs() 443 name = pdb->p_class_val_to_name[i]; in write_class_decl_rules_to_conf() 593 name = pdb->p_class_val_to_name[i]; in write_class_and_common_rules_to_conf() 725 rc = write_default_user_to_conf(out, pdb->p_class_val_to_name[i], class); in write_default_rules_to_conf() 737 rc = write_default_role_to_conf(out, pdb->p_class_val_to_name[i], class); in write_default_rules_to_conf() 749 rc = write_default_type_to_conf(out, pdb->p_class_val_to_name[i], class); in write_default_rules_to_conf() 765 rc = write_default_range_to_conf(out, pdb->p_class_val_to_name[i], class); in write_default_rules_to_conf() 1731 class = pdb->p_class_val_to_name[key->target_class - 1]; in avtab_node_to_str() 1865 class = pdb->p_class_val_to_name[ft->tclass - 1]; in map_filename_trans_to_str() [all …]
|
D | kernel_to_cil.c | 370 name = pdb->p_class_val_to_name[i]; in constraint_rules_to_strs() 396 name = pdb->p_class_val_to_name[i]; in validatetrans_rules_to_strs() 474 name = pdb->p_class_val_to_name[i]; in write_class_decl_rules_to_cil() 491 name = pdb->p_class_val_to_name[i]; in write_class_decl_rules_to_cil() 502 name = pdb->p_class_val_to_name[i]; in write_class_decl_rules_to_cil() 749 rc = write_default_user_to_cil(out, pdb->p_class_val_to_name[i], class); in write_default_rules_to_cil() 761 rc = write_default_role_to_cil(out, pdb->p_class_val_to_name[i], class); in write_default_rules_to_cil() 773 rc = write_default_type_to_cil(out, pdb->p_class_val_to_name[i], class); in write_default_rules_to_cil() 789 rc = write_default_range_to_cil(out, pdb->p_class_val_to_name[i], class); in write_default_rules_to_cil() 1754 class = pdb->p_class_val_to_name[key->target_class - 1]; in avtab_node_to_str() [all …]
|
D | module_to_cil.c | 611 pdb->p_class_val_to_name[classperm->tclass - 1], in avrule_to_cil() 616 pdb->p_class_val_to_name[classperm->tclass - 1], in avrule_to_cil() 713 "ioctl", pdb->p_class_val_to_name[classperm->tclass - 1]); in avrulex_to_cil() 1462 pdb->p_class_val_to_name[i], in role_trans_to_cil() 1557 …il_printf("(rangetransition %s %s %s ", stypes[stype], ttypes[ttype], pdb->p_class_val_to_name[i]); in range_trans_to_cil() 1621 pdb->p_class_val_to_name[rule->tclass - 1], in filename_trans_to_cil() 1628 pdb->p_class_val_to_name[rule->tclass - 1], in filename_trans_to_cil() 2983 const char *class_name = pdb->p_class_val_to_name[sclass-1]; in genfscon_to_cil()
|
D | link.c | 1973 id = pol->p_class_val_to_name[i]; in is_decl_requires_met() 2046 p->p_class_val_to_name[req.symbol_value - 1], in debug_requirements() 2052 p->p_class_val_to_name[req.symbol_value - 1], in debug_requirements() 2105 p->p_class_val_to_name[req->symbol_value - 1], fparg.key); in print_missing_requirements()
|
D | expand.c | 1368 state->out->p_class_val_to_name[k], in copy_role_trans() 1432 state->out->p_class_val_to_name[rule->tclass - 1], in expand_filename_trans_helper() 1531 state->out->p_class_val_to_name[tclass - 1]); in exp_rangetr_helper() 1767 p->p_class_val_to_name[avkey.target_class - in expand_terule_helper() 1776 p->p_class_val_to_name[avkey.target_class - 1], in expand_terule_helper()
|
D | policydb.c | 1028 if (p->p_class_val_to_name[cladatum->s.value - 1] != NULL) in class_index() 1030 p->p_class_val_to_name[cladatum->s.value - 1] = (char *)key; in class_index() 1156 free(p->p_class_val_to_name); in policydb_index_classes() 1157 p->p_class_val_to_name = (char **) in policydb_index_classes() 1159 if (!p->p_class_val_to_name) in policydb_index_classes()
|
D | hierarchy.c | 449 p->p_class_val_to_name[cur->key.target_class - 1], in bounds_report()
|
D | services.c | 342 policydb->p_class_val_to_name[tclass - 1]); in get_class_info() 1321 n, s, t, policydb->p_class_val_to_name[tclass - 1]); in compute_sid_handle_invalid_context()
|
D | policydb_validate.c | 53 if (validate_init(&flavors[SYM_CLASSES], p->p_class_val_to_name, p->p_classes.nprim)) in validate_array_init()
|
D | write.c | 1107 p->p_class_val_to_name[cladatum->s.value - 1], p->policyvers, in class_write()
|
/third_party/selinux/checkpolicy/ |
D | policy_define.c | 2129 policydbp->p_class_val_to_name[i]); in define_te_avtab_xperms_helper() 2131 } else if (!is_perm_in_scope (id, policydbp->p_class_val_to_name[i])) { in define_te_avtab_xperms_helper() 2134 policydbp->p_class_val_to_name[i]); in define_te_avtab_xperms_helper() 2612 policydbp->p_class_val_to_name[i]); in define_te_avtab_helper() 2616 (id, policydbp->p_class_val_to_name[i])) { in define_te_avtab_helper() 2620 policydbp->p_class_val_to_name[i]); in define_te_avtab_helper() 3213 policydbp->p_class_val_to_name[k]); in define_role_trans() 3411 policydbp->p_class_val_to_name[c]); in define_filename_trans() 3429 policydbp->p_class_val_to_name[c]); in define_filename_trans() 3668 " defined for class %s", id, policydbp->p_class_val_to_name[i]); in define_constraint()
|
D | module_compiler.c | 857 policydbp->p_class_val_to_name[datum->s.value - 1], in require_class()
|
/third_party/selinux/checkpolicy/test/ |
D | dispol.c | 68 tclass = p->p_class_val_to_name[key->target_class - 1]; in render_key()
|
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 537 #define p_class_val_to_name sym_val_to_name[SYM_CLASSES] macro
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_binary.c | 1011 pdb->p_class_val_to_name[obj - 1], in __cil_insert_type_rule() 1044 pdb->p_class_val_to_name[obj - 1], in __cil_insert_type_rule() 4122 pdb->p_class_val_to_name[class->s.value - 1] = (char *)key; in __cil_class_val_array_insert() 4220 policydb->p_class_val_to_name = cil_malloc(sizeof(char *) * policydb->p_classes.nprim); in __cil_policydb_val_arrays_create()
|