Searched refs:modpath (Results 1 - 4 of 4) sorted by relevance
/freebsd-12-stable/contrib/openpam/lib/libpam/ |
H A D | openpam_dynamic.c | 122 try_module(const char *modpath) argument 129 (module->path = strdup(modpath)) == NULL || 130 (module->dlh = try_dlopen(modpath)) == NULL) 151 modpath, pam_sm_func_name[i], dlerror()); 167 openpam_log(PAM_LOG_ERROR, "%s: %m", modpath); 182 char modpath[PATH_MAX]; local 232 len = snprintf(modpath, sizeof modpath, "%s/%s%n", 235 len = snprintf(modpath, sizeof modpath, " [all...] |
/freebsd-12-stable/sbin/kldconfig/ |
H A D | kldconfig.c | 61 static char *modpath; variable 102 if (modpath != NULL) { 103 free(modpath); 104 modpath = NULL; 118 modpath = path; 136 if (modpath != NULL) 137 free(modpath); 138 modpath = newpath; 387 if ((origpath = strdup(modpath)) == NULL) { 400 parsepath(&pathq, modpath, uniqfla [all...] |
/freebsd-12-stable/lib/libefivar/ |
H A D | efivar-dp-xlate.c | 678 char *modpath = NULL, *cp; local 701 modpath = strdup(path); 702 if (modpath == NULL) 704 for (cp = modpath; *cp; cp++) 708 if (modpath[0] == '/' && modpath[1] == '/') /* Handle //foo/bar/baz */ 709 rv = efipart_to_dp(&mesh, modpath, dp); 710 else if (strchr(modpath, ':')) /* Handle dev:/bar/baz */ 711 rv = dev_path_to_dp(&mesh, modpath, dp); 713 rv = path_to_dp(&mesh, modpath, d [all...] |
/freebsd-12-stable/sbin/devmatch/ |
H A D | devmatch.c | 98 char *modpath, *p, *q; local 104 modpath = malloc(buflen); 105 if (modpath == NULL) 106 err(1, "Can't get memory for modpath."); 107 if (sysctlbyname("kern.module_path", modpath, &buflen, NULL, 0) < 0) 109 p = modpath;
|
Completed in 103 milliseconds