Home
last modified time | relevance | path

Searched refs:p_cat_val_to_name (Results 1 – 9 of 9) sorted by relevance

/external/selinux/libsepol/src/
Dmls.c135 strlen(policydb->p_cat_val_to_name[i]) + 1; in mls_compute_context_len()
141 p_cat_val_to_name[i - 1]) + in mls_compute_context_len()
148 len += strlen(policydb->p_cat_val_to_name[i - 1]) + 1; in mls_compute_context_len()
207 policydb->p_cat_val_to_name[i]); in mls_sid_to_context()
209 strlen(policydb->p_cat_val_to_name[i]); in mls_sid_to_context()
219 policydb->p_cat_val_to_name[i - in mls_sid_to_context()
223 p_cat_val_to_name[i - 1]); in mls_sid_to_context()
235 strcpy(scontextp, policydb->p_cat_val_to_name[i - 1]); in mls_sid_to_context()
236 scontextp += strlen(policydb->p_cat_val_to_name[i - 1]); in mls_sid_to_context()
587 p_cat_val_to_name in mls_convert_context()
Dkernel_to_cil.c919 name = pdb->p_cat_val_to_name[i]; in write_category_rules_to_cil()
935 name = pdb->p_cat_val_to_name[i]; in write_category_rules_to_cil()
982 actual = pdb->p_cat_val_to_name[cat->s.value - 1]; in write_category_rules_to_cil()
1105 cats = cats_ebitmap_to_str(&level->level->cat, pdb->p_cat_val_to_name); in write_sensitivitycategory_rules_to_cil()
1883 cats_str = cats_ebitmap_to_str(cats, pdb->p_cat_val_to_name); in level_to_str()
Dmodule_to_cil.c540 cil_printf("%s", pdb->p_cat_val_to_name[cat->low - 1]); in semantic_level_to_cil()
542 …cil_printf("range %s %s", pdb->p_cat_val_to_name[cat->low - 1], pdb->p_cat_val_to_name[cat->high -… in semantic_level_to_cil()
2418 cil_println(indent, "(categoryaliasactual %s %s)", key, pdb->p_cat_val_to_name[cat->s.value - 1]); in cat_to_cil()
2439 cil_printf("%s ", pdb->p_cat_val_to_name[i]); in cat_order_to_cil()
Dkernel_to_conf.c955 name = pdb->p_cat_val_to_name[i]; in write_category_rules_to_conf()
1094 cats = cats_ebitmap_to_str(&level->level->cat, pdb->p_cat_val_to_name); in write_level_rules_to_conf()
1863 cats_str = cats_ebitmap_to_str(cats, pdb->p_cat_val_to_name); in level_to_str()
Dexpand.c909 p->p_cat_val_to_name[cat->low - 1], in mls_semantic_level_expand()
910 p->p_cat_val_to_name[cat->high - 1]); in mls_semantic_level_expand()
917 p->p_cat_val_to_name[i], in mls_semantic_level_expand()
Dpolicydb.c1106 if (p->p_cat_val_to_name[catdatum->s.value - 1] != NULL) in cat_index()
1108 p->p_cat_val_to_name[catdatum->s.value - 1] = (char *)key; in cat_index()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h541 #define p_cat_val_to_name sym_val_to_name[SYM_CATS] macro
/external/selinux/libsepol/cil/src/
Dcil_binary.c3986 pdb->p_cat_val_to_name[cat->s.value - 1] = (char *)key; in __cil_cat_val_array_insert()
4042 policydb->p_cat_val_to_name = cil_malloc(sizeof(char *) * policydb->p_cats.nprim); in __cil_policydb_val_arrays_create()
/external/selinux/checkpolicy/
Dpolicy_define.c4206 policydbp->p_cat_val_to_name[i], in parse_categories()