Lines Matching refs:policydbp
96 extern policydb_t *policydbp;
297 for (i = 0; i < policydbp->p_bools.nprim; i++) { in display_bools()
298 printf("%s : %d\n", policydbp->p_bool_val_to_name[i], in display_bools()
299 policydbp->bool_val_to_struct[i]->state); in display_bools()
312 policydbp->p_bool_val_to_name[cur->bool - 1]); in display_expr()
343 for (cur = policydbp->cond_list; cur != NULL; cur = cur->next) { in display_cond_expressions()
355 bool = hashtab_search(policydbp->p_bools.table, name); in change_bool()
361 evaluate_conds(policydbp); in change_bool()
554 policydbp = &policydb; in main()
557 if (policydbp->mls) { in main()
581 policydbp = &parse_policy; in main()
583 if (read_source_policy(policydbp, file, "checkpolicy") < 0) in main()
586 if (hashtab_map(policydbp->p_levels.table, check_level, NULL)) in main()
590 if (link_modules(NULL, policydbp, NULL, 0, 0)) { in main()
600 if (expand_module(NULL, policydbp, &policydb, 0, 1)) { in main()
604 policydb_destroy(policydbp); in main()
605 policydbp = &policydb; in main()
640 ret = sepol_module_policydb_to_cil(outfp, policydbp, 1); in main()