Lines Matching refs:policydb
20 #include <sepol/policydb/policydb.h>
21 #include <sepol/policydb/avtab.h>
22 #include <sepol/policydb/services.h>
23 #include <sepol/policydb/conditional.h>
24 #include <sepol/policydb/expand.h>
25 #include <sepol/policydb/util.h>
26 #include <sepol/policydb/polcaps.h>
38 static policydb_t policydb;
434 if (policydb_init(&policydb)) {
438 ret = policydb_read(&policydb, &pf, 1);
456 display_avtab(&policydb.te_avtab, RENDER_UNCONDITIONAL,
457 &policydb, out_fp);
460 display_avtab(&policydb.te_cond_avtab,
461 RENDER_CONDITIONAL, &policydb, out_fp);
464 display_avtab(&policydb.te_cond_avtab, RENDER_ENABLED,
465 &policydb, out_fp);
468 display_avtab(&policydb.te_cond_avtab, RENDER_DISABLED,
469 &policydb, out_fp);
472 display_bools(&policydb, out_fp);
475 display_cond_expressions(&policydb, out_fp);
498 change_bool(name, state, &policydb, out_fp);
502 display_role_trans(&policydb, out_fp);
505 display_policycaps(&policydb, out_fp);
508 display_permissive(&policydb, out_fp);
512 display_handle_unknown(&policydb, out_fp);
530 display_filename_trans(&policydb, out_fp);
533 policydb_destroy(&policydb);