Home
last modified time | relevance | path

Searched refs:p_class_val_to_name (Results 1 – 15 of 15) 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()
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()
Dkernel_to_cil.c358 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 …]
Dkernel_to_conf.c358 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 …]
Dmodule_to_cil.c607 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()
Dlink.c2020 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()
Dexpand.c1329 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()
Dpolicydb.c1012 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()
Dhierarchy.c449 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()
1351 n, s, t, policydb->p_class_val_to_name[tclass - 1]); in compute_sid_handle_invalid_context()
Dwrite.c1045 p->p_class_val_to_name[cladatum->s.value - 1], p->policyvers, in class_write()
/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.c2127 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/
Ddispol.c68 tclass = p->p_class_val_to_name[key->target_class - 1]; in render_key()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h535 #define p_class_val_to_name sym_val_to_name[SYM_CLASSES] macro
/external/selinux/libsepol/cil/src/
Dcil_binary.c1015 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()