Lines Matching defs:module
35 #include <sepol/policydb/module.h>
306 * they can never be required by a module, use this
751 policydb_t module, *mods = &module;
765 fprintf(out_fp, "Reading module...\n");
772 if (module.policy_type != POLICY_MOD) {
773 fprintf(stderr, "This file is not a loadable policy module.\n");
776 if (policydb_index_classes(&module) ||
777 policydb_index_others(NULL, &module, 0)) {
778 fprintf(stderr, "Could not index module.\n");
786 policydb_destroy(&module);
827 printf("l) Link in a module\n");
858 "This file is neither a base nor loadable policy module.\n");
875 printf("Binary policy module file loaded.\n");
876 printf("Module name: %s\n", policydb.name);
877 printf("Module version: %s\n", policydb.version);