Home
last modified time | relevance | path

Searched refs:p_types (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/security/selinux/ss/
H A Dpolicydb.c606 || typdatum->value > p->p_types.nprim in type_index()
607 || typdatum->bounds > p->p_types.nprim) in type_index()
721 p->p_users.nprim, p->p_roles.nprim, p->p_types.nprim, in policydb_index()
752 p->type_val_to_struct = kvcalloc(p->p_types.nprim, in policydb_index()
850 for (i = 0; i < p->p_types.nprim; i++) in policydb_destroy()
917 if (!type || type > p->p_types.nprim) in policydb_type_isvalid()
937 if (!c->type || c->type > p->p_types.nprim) in policydb_context_isvalid()
2681 p->type_attr_map_array = kvcalloc(p->p_types.nprim, in policydb_read()
2688 for (i = 0; i < p->p_types.nprim; i++) in policydb_read()
2691 for (i = 0; i < p->p_types.nprim; i++) { in policydb_read()
[all …]
H A Dpolicydb.h247 #define p_types symtab[SYM_TYPES] macro
H A Dservices.c1472 typdatum = symtab_search(&pol->p_types, scontextp); in string_to_context_struct()
2050 typdatum = symtab_search(&args->newp->p_types, in services_convert_context()
3572 typedatum = symtab_search(&policydb->p_types, rulestr); in selinux_audit_rule_init()