Searched refs:levdatum (Results 1 – 6 of 6) sorted by relevance
261 level_datum_t *levdatum; in mls_context_isvalid() local282 levdatum = (level_datum_t *) hashtab_search(p->p_levels.table, in mls_context_isvalid()287 if (!levdatum) in mls_context_isvalid()294 if (!ebitmap_get_bit(&levdatum->level->cat, i)) in mls_context_isvalid()335 level_datum_t *levdatum; in mls_context_to_sid() local356 levdatum = in mls_context_to_sid()360 if (!levdatum) in mls_context_to_sid()363 context->range.level[l].sens = levdatum->level->sens; in mls_context_to_sid()555 level_datum_t *levdatum; in mls_convert_context() local565 levdatum = in mls_convert_context()[all …]
925 level_datum_t *levdatum; in sens_index() local927 levdatum = (level_datum_t *) datum; in sens_index()930 if (!levdatum->isalias) { in sens_index()931 if (!levdatum->level->sens || in sens_index()932 levdatum->level->sens > p->p_levels.nprim) in sens_index()934 p->p_sens_val_to_name[levdatum->level->sens - 1] = (char *)key; in sens_index()1218 level_datum_t *levdatum; in sens_destroy() local1222 levdatum = (level_datum_t *) datum; in sens_destroy()1223 mls_level_destroy(levdatum->level); in sens_destroy()1224 free(levdatum->level); in sens_destroy()[all …]
446 level_datum_t *levdatum; in sens_write() local452 levdatum = (level_datum_t *) datum; in sens_write()457 buf[items++] = cpu_to_le32(levdatum->isalias); in sens_write()466 if (mls_write_level(levdatum->level, fp)) in sens_write()
887 level_datum_t *levdatum; in mls_semantic_level_expand() local900 levdatum = (level_datum_t *) hashtab_search(p->p_levels.table, in mls_semantic_level_expand()902 if (!levdatum) { in mls_semantic_level_expand()916 if (!ebitmap_get_bit(&levdatum->level->cat, i)) { in mls_semantic_level_expand()
1002 level_datum_t *levdatum = (level_datum_t *) datum; in clone_level() local1005 if (levdatum->level == level) { in clone_level()1006 levdatum->defined = 1; in clone_level()1007 if (!levdatum->isalias) in clone_level()1016 levdatum->level = newlevel; in clone_level()1024 level_datum_t *levdatum; in define_level() local1042 levdatum = (level_datum_t *) hashtab_search(policydbp->p_levels.table, in define_level()1044 if (!levdatum) { in define_level()1049 if (ebitmap_length(&levdatum->level->cat)) { in define_level()1057 levdatum->defined = 1; in define_level()[all …]
367 level_datum_t *levdatum = (level_datum_t *) datum; in check_level() local369 if (!levdatum->isalias && !levdatum->defined) { in check_level()