Home
last modified time | relevance | path

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

/Linux-v5.4/security/selinux/ss/
Dpolicydb.c587 || typdatum->value > p->p_types.nprim in type_index()
588 || typdatum->bounds > p->p_types.nprim) in type_index()
700 p->p_users.nprim, p->p_roles.nprim, p->p_types.nprim, in policydb_index()
704 p->p_users.nprim, p->p_roles.nprim, p->p_types.nprim, in policydb_index()
733 p->type_val_to_struct = kvcalloc(p->p_types.nprim, in policydb_index()
836 for (i = 0; i < p->p_types.nprim; i++) in policydb_destroy()
906 if (!type || type > p->p_types.nprim) in policydb_type_isvalid()
926 if (!c->type || c->type > p->p_types.nprim) in policydb_context_isvalid()
1759 rc = hashtab_map(p->p_types.table, in policydb_bounds_sanity_check()
2499 p->type_attr_map_array = kvcalloc(p->p_types.nprim, in policydb_read()
[all …]
Dpolicydb.h243 #define p_types symtab[SYM_TYPES] macro
Dservices.c1431 typdatum = hashtab_search(pol->p_types.table, scontextp); in string_to_context_struct()
1995 typdatum = hashtab_search(args->newp->p_types.table, in convert_context()
3350 typedatum = hashtab_search(policydb->p_types.table, rulestr); in selinux_audit_rule_init()