Searched refs:mypolicydb (Results 1 – 1 of 1) sorted by relevance
77 static policydb_t mypolicydb, *policydb = &mypolicydb; variable142 if (mypolicydb.policy_type) in sepol_set_policydb_from_file()143 policydb_destroy(&mypolicydb); in sepol_set_policydb_from_file()144 if (policydb_init(&mypolicydb)) { in sepol_set_policydb_from_file()148 if (policydb_read(&mypolicydb, &pf, 0)) { in sepol_set_policydb_from_file()149 policydb_destroy(&mypolicydb); in sepol_set_policydb_from_file()153 policydb = &mypolicydb; in sepol_set_policydb_from_file()1820 policydb_destroy(&mypolicydb); in sepol_load_policy()