Home
last modified time | relevance | path

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

/security/selinux/ss/
Dpolicydb.c387 struct type_datum *typdatum; in type_index() local
390 typdatum = datum; in type_index()
393 if (typdatum->primary) { in type_index()
394 if (!typdatum->value in type_index()
395 || typdatum->value > p->p_types.nprim in type_index()
396 || typdatum->bounds > p->p_types.nprim) in type_index()
399 if (flex_array_put_ptr(fa, typdatum->value - 1, key, in type_index()
404 if (flex_array_put_ptr(fa, typdatum->value - 1, typdatum, in type_index()
1462 struct type_datum *typdatum; in type_read() local
1468 typdatum = kzalloc(sizeof(*typdatum), GFP_KERNEL); in type_read()
[all …]
Dservices.c1326 struct type_datum *typdatum; in string_to_context_struct() local
1376 typdatum = hashtab_search(pol->p_types.table, scontextp); in string_to_context_struct()
1377 if (!typdatum || typdatum->attribute) in string_to_context_struct()
1380 ctx->type = typdatum->value; in string_to_context_struct()
1858 struct type_datum *typdatum; in convert_context() local
1921 typdatum = hashtab_search(args->newp->p_types.table, in convert_context()
1923 if (!typdatum) in convert_context()
1925 c->type = typdatum->value; in convert_context()