Home
last modified time | relevance | path

Searched refs:levdatum (Results 1 – 2 of 2) sorted by relevance

/security/selinux/ss/
Dmls.c163 struct level_datum *levdatum; in mls_level_isvalid() local
167 levdatum = hashtab_search(p->p_levels.table, in mls_level_isvalid()
169 if (!levdatum) in mls_level_isvalid()
177 return ebitmap_contains(&levdatum->level->cat, &l->cat, in mls_level_isvalid()
245 struct level_datum *levdatum; in mls_context_to_sid() local
283 levdatum = hashtab_search(pol->p_levels.table, scontextp); in mls_context_to_sid()
284 if (!levdatum) { in mls_context_to_sid()
289 context->range.level[l].sens = levdatum->level->sens; in mls_context_to_sid()
467 struct level_datum *levdatum; in mls_convert_context() local
477 levdatum = hashtab_search(newp->p_levels.table, in mls_convert_context()
[all …]
Dpolicydb.c453 struct level_datum *levdatum; in sens_index() local
456 levdatum = datum; in sens_index()
459 if (!levdatum->isalias) { in sens_index()
460 if (!levdatum->level->sens || in sens_index()
461 levdatum->level->sens > p->p_levels.nprim) in sens_index()
464 if (flex_array_put_ptr(fa, levdatum->level->sens - 1, key, in sens_index()
732 struct level_datum *levdatum; in sens_destroy() local
736 levdatum = datum; in sens_destroy()
737 if (levdatum->level) in sens_destroy()
738 ebitmap_destroy(&levdatum->level->cat); in sens_destroy()
[all …]