Home
last modified time | relevance | path

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

/security/selinux/ss/
Dpolicydb.c611 || typdatum->value > p->p_types.nprim in type_index()
612 || typdatum->bounds > p->p_types.nprim) in type_index()
724 p->p_users.nprim, p->p_roles.nprim, p->p_types.nprim, in policydb_index()
728 p->p_users.nprim, p->p_roles.nprim, p->p_types.nprim, in policydb_index()
757 p->type_val_to_struct = kvcalloc(p->p_types.nprim, in policydb_index()
855 for (i = 0; i < p->p_types.nprim; i++) in policydb_destroy()
922 if (!type || type > p->p_types.nprim) in policydb_type_isvalid()
942 if (!c->type || c->type > p->p_types.nprim) in policydb_context_isvalid()
1773 rc = hashtab_map(&p->p_types.table, type_bounds_sanity_check, p); in policydb_bounds_sanity_check()
2686 p->type_attr_map_array = kvcalloc(p->p_types.nprim, in policydb_read()
[all …]
Dpolicydb.h249 #define p_types symtab[SYM_TYPES] macro
Dservices.c1497 typdatum = symtab_search(&pol->p_types, scontextp); in string_to_context_struct()
2091 typdatum = symtab_search(&args->newp->p_types, in convert_context()
3643 typedatum = symtab_search(&policydb->p_types, rulestr); in selinux_audit_rule_init()