Searched refs:p_types (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/security/selinux/ss/ |
D | policydb.c | 598 if (!typdatum->value || typdatum->value > p->p_types.nprim || in type_index() 599 typdatum->bounds > p->p_types.nprim) in type_index() 719 p->p_users.nprim, p->p_roles.nprim, p->p_types.nprim, in policydb_index() 723 p->p_users.nprim, p->p_roles.nprim, p->p_types.nprim, in policydb_index() 749 p->p_types.nprim, sizeof(*p->type_val_to_struct), GFP_KERNEL); in policydb_index() 844 for (i = 0; i < p->p_types.nprim; i++) in policydb_destroy() 941 if (!type || type > p->p_types.nprim) in policydb_type_isvalid() 961 if (!c->type || c->type > p->p_types.nprim) in policydb_context_isvalid() 1800 rc = hashtab_map(&p->p_types.table, type_bounds_sanity_check, p); in policydb_bounds_sanity_check() 2725 p->p_types.nprim, sizeof(*p->type_attr_map_array), GFP_KERNEL); in policydb_read() [all …]
|
D | policydb.h | 244 #define p_types symtab[SYM_TYPES] macro
|
D | services.c | 1482 typdatum = symtab_search(&pol->p_types, scontextp); in string_to_context_struct() 2062 typdatum = symtab_search(&args->newp->p_types, in services_convert_context() 3584 typedatum = symtab_search(&policydb->p_types, rulestr); in selinux_audit_rule_init()
|