Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dmls.c280 || c->range.level[l].sens > p->p_levels.nprim) in mls_context_isvalid()
282 levdatum = (level_datum_t *) hashtab_search(p->p_levels.table, in mls_context_isvalid()
357 (level_datum_t *) hashtab_search(policydb->p_levels.table, in mls_context_to_sid()
566 (level_datum_t *) hashtab_search(newp->p_levels.table, in mls_convert_context()
Dexpand.c900 levdatum = (level_datum_t *) hashtab_search(p->p_levels.table, in mls_semantic_level_expand()
1157 state->out->p_levels.nprim++; in sens_copy_callback()
1159 if (hashtab_insert(state->out->p_levels.table, in sens_copy_callback()
3046 if (hashtab_map(state.base->p_levels.table, sens_copy_callback, &state)) in expand_module()
Dpolicydb.c932 levdatum->level->sens > p->p_levels.nprim) in sens_index()
1058 p->p_levels.nprim, p->p_cats.nprim); in policydb_index_others()
Dlink.c677 base_level = hashtab_search(state->base->p_levels.table, id); in sens_copy_callback()
/external/selinux/checkpolicy/
Dpolicy_define.c850 (level_datum_t *) hashtab_search(policydbp->p_levels.table, in define_dominance()
870 if (order != policydbp->p_levels.nprim) { in define_dominance()
1042 levdatum = (level_datum_t *) hashtab_search(policydbp->p_levels.table, in define_level()
1117 (policydbp->p_levels.table, clone_level, levdatum->level)) { in define_level()
4218 hashtab_search(policydbp->p_levels.table, in define_user()
4243 hashtab_search(policydbp->p_levels.table, in define_user()
4401 hashtab_search(policydbp->p_levels.table, in parse_security_context()
5430 levdatum = hashtab_search(policydbp->p_levels.table, id); in define_range_trans()
Dcheckpolicy.c586 if (hashtab_map(policydbp->p_levels.table, check_level, NULL)) in main()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h510 #define p_levels symtab[SYM_LEVELS] macro
/external/selinux/libsepol/cil/src/
Dcil_binary.c138 *sepol_level = hashtab_search(pdb->p_levels.table, datum->fqn); in __cil_get_sepol_level_datum()
3767 if (level->level->sens < 1 || level->level->sens > pdb->p_levels.nprim) { in __cil_level_val_array_insert()
3833 policydb->p_sens_val_to_name = cil_malloc(sizeof(char *) * policydb->p_levels.nprim); in __cil_policydb_val_arrays_create()
3834 rc = hashtab_map(policydb->p_levels.table, &__cil_level_val_array_insert, policydb); in __cil_policydb_val_arrays_create()