Home
last modified time | relevance | path

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

/Linux-v5.15/security/selinux/ss/
Dpolicydb.c604 struct type_datum *typdatum; in type_index() local
606 typdatum = datum; in type_index()
609 if (typdatum->primary) { in type_index()
610 if (!typdatum->value in type_index()
611 || typdatum->value > p->p_types.nprim in type_index()
612 || typdatum->bounds > p->p_types.nprim) in type_index()
614 p->sym_val_to_name[SYM_TYPES][typdatum->value - 1] = key; in type_index()
615 p->type_val_to_struct[typdatum->value - 1] = typdatum; in type_index()
1449 struct type_datum *typdatum; in type_read() local
1454 typdatum = kzalloc(sizeof(*typdatum), GFP_KERNEL); in type_read()
[all …]
Dservices.c1445 struct type_datum *typdatum; in string_to_context_struct() local
1495 typdatum = symtab_search(&pol->p_types, scontextp); in string_to_context_struct()
1496 if (!typdatum || typdatum->attribute) in string_to_context_struct()
1499 ctx->type = typdatum->value; in string_to_context_struct()
2029 struct type_datum *typdatum; in convert_context() local
2088 typdatum = symtab_search(&args->newp->p_types, in convert_context()
2091 if (!typdatum) in convert_context()
2093 newc->type = typdatum->value; in convert_context()