Home
last modified time | relevance | path

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

/security/selinux/ss/
Dmls.c162 struct level_datum *levdatum; in mls_level_isvalid() local
166 levdatum = hashtab_search(p->p_levels.table, in mls_level_isvalid()
168 if (!levdatum) in mls_level_isvalid()
176 return ebitmap_contains(&levdatum->level->cat, &l->cat, in mls_level_isvalid()
244 struct level_datum *levdatum; in mls_context_to_sid() local
282 levdatum = hashtab_search(pol->p_levels.table, scontextp); in mls_context_to_sid()
283 if (!levdatum) { in mls_context_to_sid()
288 context->range.level[l].sens = levdatum->level->sens; in mls_context_to_sid()
466 struct level_datum *levdatum; in mls_convert_context() local
476 levdatum = hashtab_search(newp->p_levels.table, in mls_convert_context()
[all …]
Dpolicydb.c436 struct level_datum *levdatum; in sens_index() local
439 levdatum = datum; in sens_index()
442 if (!levdatum->isalias) { in sens_index()
443 if (!levdatum->level->sens || in sens_index()
444 levdatum->level->sens > p->p_levels.nprim) in sens_index()
447 if (flex_array_put_ptr(fa, levdatum->level->sens - 1, key, in sens_index()
720 struct level_datum *levdatum; in sens_destroy() local
724 levdatum = datum; in sens_destroy()
725 ebitmap_destroy(&levdatum->level->cat); in sens_destroy()
726 kfree(levdatum->level); in sens_destroy()
[all …]