Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/security/selinux/ss/
Dmls.c164 struct level_datum *levdatum; in mls_level_isvalid() local
168 levdatum = symtab_search(&p->p_levels, 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 = symtab_search(&pol->p_levels, 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
464 levdatum = symtab_search(&newp->p_levels, name); in mls_convert_context()
[all …]
Dpolicydb.c299 struct level_datum *levdatum; in sens_destroy() local
303 levdatum = datum; in sens_destroy()
304 if (levdatum->level) in sens_destroy()
305 ebitmap_destroy(&levdatum->level->cat); in sens_destroy()
306 kfree(levdatum->level); in sens_destroy()
641 struct level_datum *levdatum; in sens_index() local
643 levdatum = datum; in sens_index()
646 if (!levdatum->isalias) { in sens_index()
647 if (!levdatum->level->sens || in sens_index()
648 levdatum->level->sens > p->p_levels.nprim) in sens_index()
[all …]