Searched refs:all_modinfos (Results 1 – 1 of 1) sorted by relevance
1113 semanage_module_info_t *all_modinfos = NULL; in semanage_get_active_modules() local1119 ret = semanage_module_list_all(sh, &all_modinfos, &all_modinfos_len); in semanage_get_active_modules()1142 if (all_modinfos[i].enabled != 1) continue; in semanage_get_active_modules()1145 found = semanage_list_find(list, all_modinfos[i].name); in semanage_get_active_modules()1147 ret = semanage_list_push(&list, all_modinfos[i].name); in semanage_get_active_modules()1156 if (semanage_module_info_clone(sh, &all_modinfos[i], &(*modinfo)[j]) != 0) { in semanage_get_active_modules()1191 semanage_module_info_destroy(sh, &all_modinfos[i]); in semanage_get_active_modules()1193 free(all_modinfos); in semanage_get_active_modules()