Lines Matching refs:policydbp
40 extern policydb_t *policydbp;
87 if (policydbp->policy_type != POLICY_MOD) { in define_policy()
102 policydbp->name = id; in define_policy()
103 if ((policydbp->version = in define_policy()
111 if (policydbp->policy_type == POLICY_MOD) { in define_policy()
125 if (push_stack(1, policydbp->global, policydbp->global->branch_list) == in define_policy()
129 last_block = policydbp->global; in define_policy()
164 ret = symtab_insert(policydbp, symbol_type, key, datum, scope, in create_symbol()
169 hashtab_search(policydbp->symtab[symbol_type].table, in create_symbol()
244 policydbp->p_role_val_to_name[role->bounds - 1]); in role_implicit_bounds()
294 *role = hashtab_search(policydbp->symtab[SYM_ROLES].table, id); in create_role()
333 roles_tab = policydbp->p_roles.table; in declare_role()
430 *type = hashtab_search(policydbp->symtab[SYM_TYPES].table, id); in create_type()
489 policydbp->p_role_val_to_name[user->bounds - 1]); in user_implicit_bounds()
567 users_tab = policydbp->p_users.table; in declare_user()
627 types_tab = policydbp->p_types.table; in get_local_type()
675 roles_tab = policydbp->p_roles.table; in get_local_role()
820 if (policydb_index_classes(policydbp)) { in require_class()
826 datum = hashtab_search(policydbp->p_classes.table, class_id); in require_class()
846 if (policydbp->policy_type == POLICY_BASE) { in require_class()
1132 (scope_datum_t *) hashtab_search(policydbp->scope[symbol_type]. in is_id_in_scope()
1179 (class_datum_t *) hashtab_search(policydbp->p_classes.table, in is_perm_in_scope()
1199 return get_decl_cond_list(policydbp, decl, cond); in get_current_cond_list()
1429 if (policydbp->policy_type == POLICY_BASE in end_avrule_block()