Lines Matching refs:policydbp
102 extern policydb_t *policydbp;
303 for (i = 0; i < policydbp->p_bools.nprim; i++) { in display_bools()
304 printf("%s : %d\n", policydbp->p_bool_val_to_name[i], in display_bools()
305 policydbp->bool_val_to_struct[i]->state); in display_bools()
318 policydbp->p_bool_val_to_name[cur->bool - 1]); in display_expr()
349 for (cur = policydbp->cond_list; cur != NULL; cur = cur->next) { in display_cond_expressions()
361 bool = hashtab_search(policydbp->p_bools.table, name); in change_bool()
367 evaluate_conds(policydbp); in change_bool()
566 policydbp = &policydb; in main()
569 if (policydbp->mls) { in main()
597 policydbp = &parse_policy; in main()
599 if (read_source_policy(policydbp, file, "checkpolicy") < 0) in main()
602 if (hashtab_map(policydbp->p_levels.table, check_level, NULL)) in main()
606 if (link_modules(NULL, policydbp, NULL, 0, 0)) { in main()
616 if (expand_module(NULL, policydbp, &policydb, 0, 1)) { in main()
620 policydb_destroy(policydbp); in main()
621 policydbp = &policydb; in main()
654 ret = sepol_kernel_policydb_to_conf(outfp, policydbp); in main()
663 ret = sepol_kernel_policydb_to_cil(outfp, policydbp); in main()
665 ret = sepol_module_policydb_to_cil(outfp, policydbp, 1); in main()