Home
last modified time | relevance | path

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

/external/selinux/libsepol/tests/
Dtest-expander.c177 policydb_destroy(&basemod); in expander_test_cleanup()
178 policydb_destroy(&base_expanded); in expander_test_cleanup()
179 policydb_destroy(&basemod2); in expander_test_cleanup()
180 policydb_destroy(&base_expanded2); in expander_test_cleanup()
181 policydb_destroy(&mod2); in expander_test_cleanup()
182 policydb_destroy(&base_only_mod); in expander_test_cleanup()
183 policydb_destroy(&base_only_expanded); in expander_test_cleanup()
184 policydb_destroy(&role_basemod); in expander_test_cleanup()
185 policydb_destroy(&role_expanded); in expander_test_cleanup()
186 policydb_destroy(&role_mod); in expander_test_cleanup()
[all …]
Dtest-cond.c37 policydb_destroy(&basemod); in cond_test_init()
57 policydb_destroy(&basemod); in cond_test_init()
58 policydb_destroy(&base_expanded); in cond_test_init()
64 policydb_destroy(&basemod); in cond_test_cleanup()
65 policydb_destroy(&base_expanded); in cond_test_cleanup()
Dtest-deps.c117 policydb_destroy(&bases_met[i]); in deps_test_cleanup()
121 policydb_destroy(&bases_notmet[i]); in deps_test_cleanup()
170 policydb_destroy(&mod); in do_deps_modreq_global()
251 policydb_destroy(&mod); in do_deps_modreq_opt()
Dtest-linker.c99 policydb_destroy(&basenomods); in linker_test_cleanup()
100 policydb_destroy(&linkedbase); in linker_test_cleanup()
103 policydb_destroy(modules[i]); in linker_test_cleanup()
Dtest-downgrade.c70 policydb_destroy(&policydb); in downgrade_test_cleanup()
133 policydb_destroy(&policydb); in do_downgrade_test()
181 policydb_destroy(&policydb_tmp); in do_downgrade_test()
Dtest-neverallow.c153 policydb_destroy(&basemod); in test_neverallow_basic()
154 policydb_destroy(&base_expanded); in test_neverallow_basic()
Dhelpers.c59 policydb_destroy(p); in test_load_policy()
/external/selinux/libsepol/src/
Dpolicydb_convert.c23 policydb_destroy(policydb); in policydb_from_image()
86 policydb_destroy(&tmp_policydb); in policydb_to_image()
Dpolicydb_public.c82 policydb_destroy(&p->p); in sepol_policydb_free()
Dservices.c141 policydb_destroy(&mypolicydb); in sepol_set_policydb_from_file()
147 policydb_destroy(&mypolicydb); in sepol_set_policydb_from_file()
1804 policydb_destroy(&mypolicydb); in sepol_load_policy()
1840 policydb_destroy(&oldpolicydb); in sepol_load_policy()
1847 policydb_destroy(&newpolicydb); in sepol_load_policy()
Dpolicydb.c1487 void policydb_destroy(policydb_t * p) in policydb_destroy() function
/external/selinux/python/audit2allow/
Dsepolgen-ifgen-attr-helper.c248 policydb_destroy(p); in main()
261 policydb_destroy(p); in main()
/external/selinux/checkpolicy/
Dcheckmodule.c324 policydb_destroy(&kernpolicydb); in main()
361 policydb_destroy(&modpolicydb); in main()
Dcheckpolicy.c637 policydb_destroy(policydbp); in main()
715 policydb_destroy(&policydb); in main()
/external/selinux/libsepol/fuzz/
Dbinpolicy-fuzzer.c58 policydb_destroy(&policydb); in LLVMFuzzerTestOneInput()
/external/selinux/checkpolicy/test/
Ddismod.c817 policydb_destroy(&module); in link_module()
1013 policydb_destroy(&policydb); in main()
Ddispol.c547 policydb_destroy(&policydb); in main()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h650 extern void policydb_destroy(policydb_t * p);