Searched refs:basemod (Results 1 – 2 of 2) sorted by relevance
/external/selinux/libsepol/tests/ |
D | test-cond.c | 30 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()
|
D | test-expander.c | 51 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()
|