Home
last modified time | relevance | path

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

/linux-4.4.14/security/selinux/ss/
Dpolicydb.c391 struct type_datum *typdatum; in type_index() local
394 typdatum = datum; in type_index()
397 if (typdatum->primary) { in type_index()
398 if (!typdatum->value in type_index()
399 || typdatum->value > p->p_types.nprim in type_index()
400 || typdatum->bounds > p->p_types.nprim) in type_index()
403 if (flex_array_put_ptr(fa, typdatum->value - 1, key, in type_index()
408 if (flex_array_put_ptr(fa, typdatum->value - 1, typdatum, in type_index()
1466 struct type_datum *typdatum; in type_read() local
1472 typdatum = kzalloc(sizeof(*typdatum), GFP_KERNEL); in type_read()
[all …]
Dservices.c1323 struct type_datum *typdatum; in string_to_context_struct() local
1373 typdatum = hashtab_search(pol->p_types.table, scontextp); in string_to_context_struct()
1374 if (!typdatum || typdatum->attribute) in string_to_context_struct()
1377 ctx->type = typdatum->value; in string_to_context_struct()
1860 struct type_datum *typdatum; in convert_context() local
1923 typdatum = hashtab_search(args->newp->p_types.table, in convert_context()
1925 if (!typdatum) in convert_context()
1927 c->type = typdatum->value; in convert_context()