Home
last modified time | relevance | path

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

/linux-6.1.9/security/selinux/ss/
Dmls.c163 struct level_datum *levdatum; in mls_level_isvalid() local
167 levdatum = symtab_search(&p->p_levels, in mls_level_isvalid()
169 if (!levdatum) in mls_level_isvalid()
177 return ebitmap_contains(&levdatum->level->cat, &l->cat, in mls_level_isvalid()
241 struct level_datum *levdatum; in mls_context_to_sid() local
295 levdatum = symtab_search(&pol->p_levels, sensitivity); in mls_context_to_sid()
296 if (!levdatum) in mls_context_to_sid()
298 context->range.level[l].sens = levdatum->level->sens; in mls_context_to_sid()
451 struct level_datum *levdatum; in mls_convert_context() local
463 levdatum = symtab_search(&newp->p_levels, name); in mls_convert_context()
[all …]
Dpolicydb.c295 struct level_datum *levdatum; in sens_destroy() local
299 levdatum = datum; in sens_destroy()
300 if (levdatum->level) in sens_destroy()
301 ebitmap_destroy(&levdatum->level->cat); in sens_destroy()
302 kfree(levdatum->level); in sens_destroy()
636 struct level_datum *levdatum; in sens_index() local
638 levdatum = datum; in sens_index()
641 if (!levdatum->isalias) { in sens_index()
642 if (!levdatum->level->sens || in sens_index()
643 levdatum->level->sens > p->p_levels.nprim) in sens_index()
[all …]