Home
last modified time | relevance | path

Searched refs:p_commons (Results 1 – 8 of 8) sorted by relevance

/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h524 #define p_commons symtab[SYM_COMMONS] macro
/third_party/selinux/libsepol/src/
Dexpand.c293 state->out->p_commons.nprim++; in common_copy_callback()
296 hashtab_insert(state->out->p_commons.table, new_id, in common_copy_callback()
518 hashtab_search(state->out->p_commons.table, in class_copy_callback()
3023 (state.base->p_commons.table, common_copy_callback, &state)) { in expand_module()
Dpolicydb.c998 if (!value_isvalid(comdatum->s.value, p->p_commons.nprim)) in common_index()
1131 calloc(p->p_commons.nprim, sizeof(char *)); in policydb_index_classes()
1135 if (hashtab_map(p->p_commons.table, common_index, p)) in policydb_index_classes()
2275 cladatum->comdatum = hashtab_search(p->p_commons.table, in class_read()
Dkernel_to_cil.c498 used = calloc(pdb->p_commons.nprim, sizeof(*used)); in write_class_decl_rules_to_cil()
508 common = hashtab_search(pdb->p_commons.table, name); in write_class_decl_rules_to_cil()
Dkernel_to_conf.c546 used = calloc(pdb->p_commons.nprim, sizeof(*used)); in write_class_and_common_rules_to_conf()
556 common = hashtab_search(pdb->p_commons.table, name); in write_class_and_common_rules_to_conf()
Dmodule_to_cil.c3749 rc = hashtab_map(pdb->p_commons.table, common_to_cil, NULL); in global_block_to_cil()
/third_party/selinux/checkpolicy/
Dpolicy_define.c509 comdatum = hashtab_search(policydbp->p_commons.table, id); in define_common_perms()
520 ret = hashtab_insert(policydbp->p_commons.table, in define_common_perms()
531 comdatum->s.value = policydbp->p_commons.nprim + 1; in define_common_perms()
536 policydbp->p_commons.nprim++; in define_common_perms()
627 (common_datum_t *) hashtab_search(policydbp->p_commons. in define_av_perms()
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c323 sepol_common = hashtab_search(pdb->p_commons.table, key); in cil_classorder_to_policydb()
3972 if (common->s.value < 1 || common->s.value > pdb->p_commons.nprim) { in __cil_common_val_array_insert()
4080 policydb->p_common_val_to_name = cil_malloc(sizeof(char *) * policydb->p_commons.nprim); in __cil_policydb_val_arrays_create()
4081 rc = hashtab_map(policydb->p_commons.table, &__cil_common_val_array_insert, policydb); in __cil_policydb_val_arrays_create()