Home
last modified time | relevance | path

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

/linux-6.15/security/selinux/ss/
H A Dpolicydb.c595 struct type_datum *typdatum; in type_index() local
597 typdatum = datum; in type_index()
600 if (typdatum->primary) { in type_index()
601 if (!typdatum->value || typdatum->value > p->p_types.nprim || in type_index()
605 p->type_val_to_struct[typdatum->value - 1] = typdatum; in type_index()
1480 typdatum = kzalloc(sizeof(*typdatum), GFP_KERNEL); in type_read()
1481 if (!typdatum) in type_read()
1497 typdatum->primary = 1; in type_read()
1499 typdatum->attribute = 1; in type_read()
3218 if (typdatum->primary) in type_write()
[all …]
H A Dservices.c1461 struct type_datum *typdatum; in string_to_context_struct() local
1511 typdatum = symtab_search(&pol->p_types, scontextp); in string_to_context_struct()
1512 if (!typdatum || typdatum->attribute) in string_to_context_struct()
1515 ctx->type = typdatum->value; in string_to_context_struct()
2036 struct type_datum *typdatum; in services_convert_context() local
2091 typdatum = symtab_search(&args->newp->p_types, in services_convert_context()
2093 if (!typdatum) in services_convert_context()
2095 newc->type = typdatum->value; in services_convert_context()