Home
last modified time | relevance | path

Searched refs:mypolicydb (Results 1 – 1 of 1) sorted by relevance

/third_party/selinux/libsepol/src/
Dservices.c75 static policydb_t mypolicydb, *policydb = &mypolicydb; variable
140 if (mypolicydb.policy_type) in sepol_set_policydb_from_file()
141 policydb_destroy(&mypolicydb); in sepol_set_policydb_from_file()
142 if (policydb_init(&mypolicydb)) { in sepol_set_policydb_from_file()
146 if (policydb_read(&mypolicydb, &pf, 0)) { in sepol_set_policydb_from_file()
147 policydb_destroy(&mypolicydb); in sepol_set_policydb_from_file()
151 policydb = &mypolicydb; in sepol_set_policydb_from_file()
1804 policydb_destroy(&mypolicydb); in sepol_load_policy()