Home
last modified time | relevance | path

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

/Linux-v5.4/security/selinux/ss/
Dpolicydb.c580 struct type_datum *typdatum; in type_index() local
582 typdatum = datum; in type_index()
585 if (typdatum->primary) { in type_index()
586 if (!typdatum->value in type_index()
587 || typdatum->value > p->p_types.nprim in type_index()
588 || typdatum->bounds > p->p_types.nprim) in type_index()
590 p->sym_val_to_name[SYM_TYPES][typdatum->value - 1] = key; in type_index()
591 p->type_val_to_struct[typdatum->value - 1] = typdatum; in type_index()
1433 struct type_datum *typdatum; in type_read() local
1438 typdatum = kzalloc(sizeof(*typdatum), GFP_KERNEL); in type_read()
[all …]
Dservices.c1381 struct type_datum *typdatum; in string_to_context_struct() local
1431 typdatum = hashtab_search(pol->p_types.table, scontextp); in string_to_context_struct()
1432 if (!typdatum || typdatum->attribute) in string_to_context_struct()
1435 ctx->type = typdatum->value; in string_to_context_struct()
1933 struct type_datum *typdatum; in convert_context() local
1995 typdatum = hashtab_search(args->newp->p_types.table, in convert_context()
1998 if (!typdatum) in convert_context()
2000 newc->type = typdatum->value; in convert_context()