Searched refs:p_cat_val_to_name (Results 1 – 10 of 10) sorted by relevance
/third_party/selinux/libsepol/src/ |
D | mls.c | 135 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()
|
D | kernel_to_cil.c | 949 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()
|
D | module_to_cil.c | 544 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()
|
D | kernel_to_conf.c | 981 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()
|
D | expand.c | 948 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()
|
D | policydb_validate.c | 75 if (validate_init(&flavors[SYM_CATS], p->p_cat_val_to_name, p->p_cats.nprim)) in validate_array_init()
|
D | policydb.c | 1121 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/ |
D | policydb.h | 543 #define p_cat_val_to_name sym_val_to_name[SYM_CATS] macro
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_binary.c | 4205 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/ |
D | policy_define.c | 4222 policydbp->p_cat_val_to_name[i], in parse_categories()
|