Home
last modified time | relevance | path

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

/security/selinux/ss/
Dmls.c164 struct level_datum *levdatum; in mls_level_isvalid() local
168 levdatum = hashtab_search(p->p_levels.table, in mls_level_isvalid()
170 if (!levdatum) in mls_level_isvalid()
178 return ebitmap_contains(&levdatum->level->cat, &l->cat, in mls_level_isvalid()
242 struct level_datum *levdatum; in mls_context_to_sid() local
296 levdatum = hashtab_search(pol->p_levels.table, sensitivity); in mls_context_to_sid()
297 if (!levdatum) in mls_context_to_sid()
299 context->range.level[l].sens = levdatum->level->sens; in mls_context_to_sid()
452 struct level_datum *levdatum; in mls_convert_context() local
461 levdatum = hashtab_search(newp->p_levels.table, in mls_convert_context()
[all …]
Dpolicydb.c300 struct level_datum *levdatum; in sens_destroy() local
304 levdatum = datum; in sens_destroy()
305 if (levdatum->level) in sens_destroy()
306 ebitmap_destroy(&levdatum->level->cat); in sens_destroy()
307 kfree(levdatum->level); in sens_destroy()
617 struct level_datum *levdatum; in sens_index() local
619 levdatum = datum; in sens_index()
622 if (!levdatum->isalias) { in sens_index()
623 if (!levdatum->level->sens || in sens_index()
624 levdatum->level->sens > p->p_levels.nprim) in sens_index()
[all …]