Searched refs:basemod (Results 1 – 3 of 3) sorted by relevance
/third_party/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-neverallow.c | 93 policydb_t basemod, base_expanded; in test_neverallow_basic() local 132 if (test_load_policy(&basemod, POLICY_BASE, mls, "test-neverallow", "policy.conf")) in test_neverallow_basic() 135 if (link_modules(NULL, &basemod, NULL, 0, 0)) in test_neverallow_basic() 138 if (expand_module(NULL, &basemod, &base_expanded, 0, 0)) in test_neverallow_basic() 153 policydb_destroy(&basemod); in test_neverallow_basic()
|
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()
|