Home
last modified time | relevance | path

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

/linux-6.12.1/security/selinux/ss/
Dpolicydb.c592 struct type_datum *typdatum; in type_index() local
594 typdatum = datum; in type_index()
597 if (typdatum->primary) { in type_index()
598 if (!typdatum->value || typdatum->value > p->p_types.nprim || in type_index()
599 typdatum->bounds > p->p_types.nprim) in type_index()
601 p->sym_val_to_name[SYM_TYPES][typdatum->value - 1] = key; in type_index()
602 p->type_val_to_struct[typdatum->value - 1] = typdatum; in type_index()
1471 struct type_datum *typdatum; in type_read() local
1477 typdatum = kzalloc(sizeof(*typdatum), GFP_KERNEL); in type_read()
1478 if (!typdatum) in type_read()
[all …]
Dservices.c1432 struct type_datum *typdatum; in string_to_context_struct() local
1482 typdatum = symtab_search(&pol->p_types, scontextp); in string_to_context_struct()
1483 if (!typdatum || typdatum->attribute) in string_to_context_struct()
1486 ctx->type = typdatum->value; in string_to_context_struct()
2007 struct type_datum *typdatum; in services_convert_context() local
2062 typdatum = symtab_search(&args->newp->p_types, in services_convert_context()
2064 if (!typdatum) in services_convert_context()
2066 newc->type = typdatum->value; in services_convert_context()