Home
last modified time | relevance | path

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

/external/selinux/libsepol/tests/
Dtest-cond.c30 static policydb_t basemod; variable
37 policydb_destroy(&basemod); in cond_test_init()
41 if (test_load_policy(&basemod, POLICY_BASE, 1, "test-cond", "refpolicy-base.conf")) in cond_test_init()
44 if (link_modules(NULL, &basemod, NULL, 0, 0)) { in cond_test_init()
49 if (expand_module(NULL, &basemod, &base_expanded, 0, 1)) { in cond_test_init()
57 policydb_destroy(&basemod); in cond_test_init()
64 policydb_destroy(&basemod); in cond_test_cleanup()
Dtest-expander.c51 static policydb_t basemod; variable
142 rc = expander_policy_init(&basemod, 0, NULL, &base_expanded, &small_base_file); in expander_test_init()
177 policydb_destroy(&basemod); in expander_test_cleanup()