Searched refs:levdatum (Results 1 – 6 of 6) sorted by relevance
261 level_datum_t *levdatum; in mls_context_isvalid() local288 levdatum = (level_datum_t *) hashtab_search(p->p_levels.table, key); in mls_context_isvalid()289 if (!levdatum) in mls_context_isvalid()296 if (!ebitmap_get_bit(&levdatum->level->cat, i)) in mls_context_isvalid()337 level_datum_t *levdatum; in mls_context_to_sid() local358 levdatum = in mls_context_to_sid()362 if (!levdatum) in mls_context_to_sid()365 context->range.level[l].sens = levdatum->level->sens; in mls_context_to_sid()557 level_datum_t *levdatum; in mls_convert_context() local567 levdatum = in mls_convert_context()[all …]
1056 level_datum_t *levdatum; in sens_index() local1058 levdatum = (level_datum_t *) datum; in sens_index()1061 if (!levdatum->isalias) { in sens_index()1062 if (!levdatum->level->sens || in sens_index()1063 levdatum->level->sens > p->p_levels.nprim) in sens_index()1065 if (p->p_sens_val_to_name[levdatum->level->sens - 1] != NULL) in sens_index()1067 p->p_sens_val_to_name[levdatum->level->sens - 1] = (char *)key; in sens_index()1361 level_datum_t *levdatum; in sens_destroy() local1365 levdatum = (level_datum_t *) datum; in sens_destroy()1366 mls_level_destroy(levdatum->level); in sens_destroy()[all …]
448 level_datum_t *levdatum; in sens_write() local454 levdatum = (level_datum_t *) datum; in sens_write()459 buf[items++] = cpu_to_le32(levdatum->isalias); in sens_write()468 if (mls_write_level(levdatum->level, fp)) in sens_write()
889 level_datum_t *levdatum; in mls_semantic_level_expand() local902 levdatum = (level_datum_t *) hashtab_search(p->p_levels.table, in mls_semantic_level_expand()904 if (!levdatum) { in mls_semantic_level_expand()918 if (!ebitmap_get_bit(&levdatum->level->cat, i)) { in mls_semantic_level_expand()
1010 level_datum_t *levdatum = (level_datum_t *) datum; in clone_level() local1013 if (levdatum->level == level) { in clone_level()1014 levdatum->defined = 1; in clone_level()1015 if (!levdatum->isalias) in clone_level()1024 levdatum->level = newlevel; in clone_level()1032 level_datum_t *levdatum; in define_level() local1050 levdatum = (level_datum_t *) hashtab_search(policydbp->p_levels.table, in define_level()1052 if (!levdatum) { in define_level()1057 if (ebitmap_length(&levdatum->level->cat)) { in define_level()1065 levdatum->defined = 1; in define_level()[all …]
373 level_datum_t *levdatum = (level_datum_t *) datum; in check_level() local375 if (!levdatum->isalias && !levdatum->defined) { in check_level()