Lines Matching refs:module
55 pam_module_t *module; in openpam_load_module() local
57 module = openpam_dynamic(modulename); in openpam_load_module()
59 (module == NULL) ? "no" : "using", modulename); in openpam_load_module()
63 if (module == NULL && strchr(modulename, '/') == NULL) { in openpam_load_module()
64 module = openpam_static(modulename); in openpam_load_module()
66 (module == NULL) ? "no" : "using", modulename); in openpam_load_module()
69 if (module == NULL) { in openpam_load_module()
73 return (module); in openpam_load_module()
83 openpam_release_module(pam_module_t *module) in openpam_release_module() argument
86 if (module == NULL) in openpam_release_module()
88 if (module->dlh == NULL) in openpam_release_module()
91 dlclose(module->dlh); in openpam_release_module()
92 openpam_log(PAM_LOG_DEBUG, "releasing %s", module->path); in openpam_release_module()
93 FREE(module->path); in openpam_release_module()
94 FREE(module); in openpam_release_module()
112 openpam_release_module(chain->module); in openpam_destroy_chain()
113 chain->module = NULL; in openpam_destroy_chain()