Home
last modified time | relevance | path

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

/third_party/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.c949 name = pdb->p_cat_val_to_name[i]; in write_category_rules_to_cil()
957 name = pdb->p_cat_val_to_name[i]; in write_category_rules_to_cil()
1005 actual = pdb->p_cat_val_to_name[cat->s.value - 1]; in write_category_rules_to_cil()
1136 cats = cats_ebitmap_to_str(&level->level->cat, pdb->p_cat_val_to_name); in write_sensitivitycategory_rules_to_cil()
1950 cats_str = cats_ebitmap_to_str(cats, pdb->p_cat_val_to_name); in level_to_str()
Dmodule_to_cil.c544 cil_printf("%s", pdb->p_cat_val_to_name[cat->low - 1]); in semantic_level_to_cil()
546 …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()
2436 cil_println(indent, "(categoryaliasactual %s %s)", key, pdb->p_cat_val_to_name[cat->s.value - 1]); in cat_to_cil()
2457 cil_printf("%s ", pdb->p_cat_val_to_name[i]); in cat_order_to_cil()
Dkernel_to_conf.c981 name = pdb->p_cat_val_to_name[i]; in write_category_rules_to_conf()
1122 cats = cats_ebitmap_to_str(&level->level->cat, pdb->p_cat_val_to_name); in write_level_rules_to_conf()
1926 cats_str = cats_ebitmap_to_str(cats, pdb->p_cat_val_to_name); in level_to_str()
Dexpand.c948 p->p_cat_val_to_name[cat->low - 1], in mls_semantic_level_expand()
949 p->p_cat_val_to_name[cat->high - 1]); in mls_semantic_level_expand()
956 p->p_cat_val_to_name[i], in mls_semantic_level_expand()
Dpolicydb_validate.c75 if (validate_init(&flavors[SYM_CATS], p->p_cat_val_to_name, p->p_cats.nprim)) in validate_array_init()
Dpolicydb.c1121 if (p->p_cat_val_to_name[catdatum->s.value - 1] != NULL) in cat_index()
1123 p->p_cat_val_to_name[catdatum->s.value - 1] = (char *)key; in cat_index()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h543 #define p_cat_val_to_name sym_val_to_name[SYM_CATS] macro
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c4205 pdb->p_cat_val_to_name[cat->s.value - 1] = (char *)key; in __cil_cat_val_array_insert()
4261 policydb->p_cat_val_to_name = cil_malloc(sizeof(char *) * policydb->p_cats.nprim); in __cil_policydb_val_arrays_create()
/third_party/selinux/checkpolicy/
Dpolicy_define.c4222 policydbp->p_cat_val_to_name[i], in parse_categories()