Home | History | Annotate | Download | only in tests

Lines Matching defs:modules

56 static policydb_t *modules[NUM_MODS];
71 modules[i] = calloc(1, sizeof(*modules[i]));
72 if (!modules[i]) {
77 if (test_load_policy(modules[i], POLICY_MOD, mls, "test-linker", policies[i]))
82 if (link_modules(NULL, &linkedbase, modules, NUM_MODS, 0)) {
83 fprintf(stderr, "link modules failed\n");
88 fprintf(stderr, "link modules failed\n");
103 policydb_destroy(modules[i]);
104 free(modules[i]);