Home
last modified time | relevance | path

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

/linux-6.1.9/security/selinux/ss/
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()
606 || typdatum->value > p->p_types.nprim in type_index()
607 || typdatum->bounds > p->p_types.nprim) in type_index()
609 p->sym_val_to_name[SYM_TYPES][typdatum->value - 1] = key; in type_index()
610 p->type_val_to_struct[typdatum->value - 1] = typdatum; in type_index()
1443 struct type_datum *typdatum; in type_read() local
1448 typdatum = kzalloc(sizeof(*typdatum), GFP_KERNEL); in type_read()
[all …]
Dservices.c1443 struct type_datum *typdatum; in string_to_context_struct() local
1493 typdatum = symtab_search(&pol->p_types, scontextp); in string_to_context_struct()
1494 if (!typdatum || typdatum->attribute) in string_to_context_struct()
1497 ctx->type = typdatum->value; in string_to_context_struct()
2031 struct type_datum *typdatum; in convert_context() local
2090 typdatum = symtab_search(&args->newp->p_types, in convert_context()
2093 if (!typdatum) in convert_context()
2095 newc->type = typdatum->value; in convert_context()