Home
last modified time | relevance | path

Searched refs:usrdatum (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/security/selinux/ss/
Dpolicydb.c284 struct user_datum *usrdatum; in user_destroy() local
288 usrdatum = datum; in user_destroy()
289 ebitmap_destroy(&usrdatum->roles); in user_destroy()
290 ebitmap_destroy(&usrdatum->range.level[0].cat); in user_destroy()
291 ebitmap_destroy(&usrdatum->range.level[1].cat); in user_destroy()
292 ebitmap_destroy(&usrdatum->dfltlevel.cat); in user_destroy()
600 struct user_datum *usrdatum; in user_index() local
602 usrdatum = datum; in user_index()
604 if (!usrdatum->value in user_index()
605 || usrdatum->value > p->p_users.nprim in user_index()
[all …]
Dmls.c195 struct user_datum *usrdatum; in mls_context_isvalid() local
211 usrdatum = p->user_val_to_struct[c->user - 1]; in mls_context_isvalid()
212 if (!mls_range_contains(usrdatum->range, c->range)) in mls_context_isvalid()
Dservices.c1382 struct user_datum *usrdatum; in string_to_context_struct() local
1403 usrdatum = hashtab_search(pol->p_users.table, scontextp); in string_to_context_struct()
1404 if (!usrdatum) in string_to_context_struct()
1407 ctx->user = usrdatum->value; in string_to_context_struct()
1934 struct user_datum *usrdatum; in convert_context() local
1978 usrdatum = hashtab_search(args->newp->p_users.table, in convert_context()
1981 if (!usrdatum) in convert_context()
1983 newc->user = usrdatum->value; in convert_context()