• Home
  • Raw
  • Download

Lines Matching refs:policydb

57 static policydb_t policydb;  variable
302 display_id(&policydb, fp, SYM_TYPES, type->s.value - 1, ""); in display_type_callback()
321 display_id(&policydb, fp, SYM_TYPES, i, ""); in display_type_callback()
327 display_id(&policydb, fp, SYM_TYPES, type->s.value - 1, ""); in display_type_callback()
506 display_id(&policydb, fp, SYM_ROLES, role->s.value - 1, ""); in role_display_callback()
508 display_type_set(&role->types, 0, &policydb, fp); in role_display_callback()
601 display_expr(&policydb, cond->expr, out_fp); in display_avdecl()
608 &policydb, out_fp); in display_avdecl()
615 &policydb, out_fp); in display_avdecl()
674 avrule_block_t *block = policydb.global; in display_avblock()
847 policydb_init(&policydb); in main()
848 if (read_policy(argv[1], &policydb)) { in main()
855 if (policydb.policy_type != POLICY_BASE && in main()
856 policydb.policy_type != POLICY_MOD) { in main()
862 if (policydb_index_classes(&policydb)) { in main()
867 if (policydb_index_others(NULL, &policydb, 1)) { in main()
872 if (policydb.policy_type == POLICY_BASE) { in main()
876 printf("Module name: %s\n", policydb.name); in main()
877 printf("Module version: %s\n", policydb.version); in main()
890 &policydb, out_fp); in main()
895 &policydb, out_fp); in main()
898 display_users(&policydb, out_fp); in main()
901 display_bools(&policydb, out_fp); in main()
905 (policydb.p_roles.table, role_display_callback, in main()
910 if (display_types(&policydb, out_fp)) { in main()
918 &policydb, out_fp); in main()
923 &policydb, out_fp); in main()
929 display_initial_sids(&policydb, out_fp); in main()
934 &policydb, out_fp); in main()
939 &policydb, out_fp); in main()
942 display_policycaps(&policydb, out_fp); in main()
946 display_handle_unknown(&policydb, out_fp); in main()
966 &policydb, out_fp); in main()
969 link_module(&policydb, out_fp); in main()
972 policydb_destroy(&policydb); in main()