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;
770 fprintf(out_fp, "Reading module...\n");
777 if (module.policy_type != POLICY_MOD) {
778 fprintf(stderr, "This file is not a loadable policy module.\n");
781 if (policydb_index_classes(&module) ||
782 policydb_index_others(NULL, &module, 0)) {
783 fprintf(stderr, "Could not index module.\n");
791 policydb_destroy(&module);
832 printf("l) Link in a module\n");
866 "This file is neither a base nor loadable policy module.\n");
883 printf("Binary policy module file loaded.\n");
884 printf("Module name: %s\n", policydb.name);
885 printf("Module version: %s\n", policydb.version);