Home
last modified time | relevance | path

Searched refs:test_load_policy (Results 1 - 6 of 6) sorted by relevance

/third_party/selinux/libsepol/tests/
H A Dtest-linker.c63 if (test_load_policy(&linkedbase, POLICY_BASE, mls, "test-linker", policies[BASEMOD])) in linker_test_init()
66 if (test_load_policy(&basenomods, POLICY_BASE, mls, "test-linker", policies[BASEMOD])) in linker_test_init()
77 if (test_load_policy(modules[i], POLICY_MOD, mls, "test-linker", policies[i])) in linker_test_init()
H A Dtest-deps.c100 if (test_load_policy(&bases_met[i], POLICY_BASE, mls, "test-deps", "base-metreq.conf")) in deps_test_init()
105 if (test_load_policy(&bases_notmet[i], POLICY_BASE, mls, "test-deps", "base-notmetreq.conf")) in deps_test_init()
164 CU_ASSERT_FATAL(test_load_policy(&mod, POLICY_MOD, mls, "test-deps", policy) == 0); in do_deps_modreq_global()
245 CU_ASSERT_FATAL(test_load_policy(&mod, POLICY_MOD, mls, "test-deps", policy) == 0); in do_deps_modreq_opt()
H A Dhelpers.h61 * Example: test_load_policy(p, POLICY_BASE, 1, "foo", "base.conf") will load the
77 extern int test_load_policy(policydb_t * p, int policy_type, int mls, const char *test_name, const char *policy_name);
H A Dhelpers.c35 int test_load_policy(policydb_t * p, int policy_type, int mls, const char *test_name, const char *policy_name) in test_load_policy() function
H A Dtest-cond.c41 if (test_load_policy(&basemod, POLICY_BASE, 1, "test-cond", "refpolicy-base.conf")) in cond_test_init()
H A Dtest-neverallow.c132 if (test_load_policy(&basemod, POLICY_BASE, mls, "test-neverallow", "policy.conf")) in test_neverallow_basic()

Completed in 4 milliseconds