Home
last modified time | relevance | path

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

/linux-6.3-rc2/security/selinux/ss/
A Dpolicydb.c599 struct type_datum *typdatum; in type_index() local
601 typdatum = datum; in type_index()
604 if (typdatum->primary) { in type_index()
605 if (!typdatum->value in type_index()
610 p->type_val_to_struct[typdatum->value - 1] = typdatum; in type_index()
1448 typdatum = kzalloc(sizeof(*typdatum), GFP_KERNEL); in type_read()
1449 if (!typdatum) in type_read()
1465 typdatum->primary = 1; in type_read()
1467 typdatum->attribute = 1; in type_read()
3176 if (typdatum->primary) in type_write()
[all …]
A Dservices.c1437 struct type_datum *typdatum; in string_to_context_struct() local
1487 typdatum = symtab_search(&pol->p_types, scontextp); in string_to_context_struct()
1488 if (!typdatum || typdatum->attribute) in string_to_context_struct()
1491 ctx->type = typdatum->value; in string_to_context_struct()
2029 struct type_datum *typdatum; in services_convert_context() local
2084 typdatum = symtab_search(&args->newp->p_types, in services_convert_context()
2086 if (!typdatum) in services_convert_context()
2088 newc->type = typdatum->value; in services_convert_context()

Completed in 15 milliseconds