Searched refs:mypolicydb (Results 1 – 1 of 1) sorted by relevance
78 static policydb_t mypolicydb, *policydb = &mypolicydb; variable143 if (mypolicydb.policy_type) in sepol_set_policydb_from_file()144 policydb_destroy(&mypolicydb); in sepol_set_policydb_from_file()145 if (policydb_init(&mypolicydb)) { in sepol_set_policydb_from_file()149 if (policydb_read(&mypolicydb, &pf, 0)) { in sepol_set_policydb_from_file()150 policydb_destroy(&mypolicydb); in sepol_set_policydb_from_file()154 policydb = &mypolicydb; in sepol_set_policydb_from_file()1821 policydb_destroy(&mypolicydb); in sepol_load_policy()