Home
last modified time | relevance | path

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

/security/selinux/ss/
Dpolicydb.c432 struct user_datum *usrdatum; in user_index() local
435 usrdatum = datum; in user_index()
437 if (!usrdatum->value in user_index()
438 || usrdatum->value > p->p_users.nprim in user_index()
439 || usrdatum->bounds > p->p_users.nprim) in user_index()
443 if (flex_array_put_ptr(fa, usrdatum->value - 1, key, in user_index()
446 p->user_val_to_struct[usrdatum->value - 1] = usrdatum; in user_index()
716 struct user_datum *usrdatum; in user_destroy() local
720 usrdatum = datum; in user_destroy()
721 ebitmap_destroy(&usrdatum->roles); in user_destroy()
[all …]
Dmls.c194 struct user_datum *usrdatum; in mls_context_isvalid() local
210 usrdatum = p->user_val_to_struct[c->user - 1]; in mls_context_isvalid()
211 if (!mls_range_contains(usrdatum->range, c->range)) in mls_context_isvalid()
Dservices.c1335 struct user_datum *usrdatum; in string_to_context_struct() local
1356 usrdatum = hashtab_search(pol->p_users.table, scontextp); in string_to_context_struct()
1357 if (!usrdatum) in string_to_context_struct()
1360 ctx->user = usrdatum->value; in string_to_context_struct()
1870 struct user_datum *usrdatum; in convert_context() local
1916 usrdatum = hashtab_search(args->newp->p_users.table, in convert_context()
1918 if (!usrdatum) in convert_context()
1920 c->user = usrdatum->value; in convert_context()