Home
last modified time | relevance | path

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

/linux-4.1.27/security/selinux/ss/
Dpolicydb.c386 struct type_datum *typdatum; in type_index() local
389 typdatum = datum; in type_index()
392 if (typdatum->primary) { in type_index()
393 if (!typdatum->value in type_index()
394 || typdatum->value > p->p_types.nprim in type_index()
395 || typdatum->bounds > p->p_types.nprim) in type_index()
398 if (flex_array_put_ptr(fa, typdatum->value - 1, key, in type_index()
403 if (flex_array_put_ptr(fa, typdatum->value - 1, typdatum, in type_index()
1461 struct type_datum *typdatum; in type_read() local
1467 typdatum = kzalloc(sizeof(*typdatum), GFP_KERNEL); in type_read()
[all …]
Dservices.c1153 struct type_datum *typdatum; in string_to_context_struct() local
1203 typdatum = hashtab_search(pol->p_types.table, scontextp); in string_to_context_struct()
1204 if (!typdatum || typdatum->attribute) in string_to_context_struct()
1207 ctx->type = typdatum->value; in string_to_context_struct()
1685 struct type_datum *typdatum; in convert_context() local
1748 typdatum = hashtab_search(args->newp->p_types.table, in convert_context()
1750 if (!typdatum) in convert_context()
1752 c->type = typdatum->value; in convert_context()