Home
last modified time | relevance | path

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

/Linux-v4.19/security/selinux/ss/
Dpolicydb.c400 struct type_datum *typdatum; in type_index() local
403 typdatum = datum; in type_index()
406 if (typdatum->primary) { in type_index()
407 if (!typdatum->value in type_index()
408 || typdatum->value > p->p_types.nprim in type_index()
409 || typdatum->bounds > p->p_types.nprim) in type_index()
412 if (flex_array_put_ptr(fa, typdatum->value - 1, key, in type_index()
417 if (flex_array_put_ptr(fa, typdatum->value - 1, typdatum, in type_index()
1470 struct type_datum *typdatum; in type_read() local
1475 typdatum = kzalloc(sizeof(*typdatum), GFP_KERNEL); in type_read()
[all …]
Dservices.c1373 struct type_datum *typdatum; in string_to_context_struct() local
1423 typdatum = hashtab_search(pol->p_types.table, scontextp); in string_to_context_struct()
1424 if (!typdatum || typdatum->attribute) in string_to_context_struct()
1427 ctx->type = typdatum->value; in string_to_context_struct()
1941 struct type_datum *typdatum; in convert_context() local
2004 typdatum = hashtab_search(args->newp->p_types.table, in convert_context()
2006 if (!typdatum) in convert_context()
2008 c->type = typdatum->value; in convert_context()