Searched refs:modpath (Results 1 - 4 of 4) sorted by relevance

/freebsd-current/contrib/openpam/lib/libpam/
H A Dopenpam_dynamic.c120 try_module(const char *modpath) argument
127 (module->path = strdup(modpath)) == NULL ||
128 (module->dlh = try_dlopen(modpath)) == NULL)
149 modpath, pam_sm_func_name[i], dlerror());
165 openpam_log(PAM_LOG_ERROR, "%s: %m", modpath);
180 char modpath[PATH_MAX]; local
230 len = snprintf(modpath, sizeof modpath, "%s/%s%n",
233 len = snprintf(modpath, sizeof modpath, "
[all...]
/freebsd-current/sbin/kldconfig/
H A Dkldconfig.c58 static char *modpath; variable
99 if (modpath != NULL) {
100 free(modpath);
101 modpath = NULL;
115 modpath = path;
133 if (modpath != NULL)
134 free(modpath);
135 modpath = newpath;
384 if ((origpath = strdup(modpath)) == NULL) {
397 parsepath(&pathq, modpath, uniqfla
[all...]
/freebsd-current/lib/libefivar/
H A Defivar-dp-xlate.c736 char *modpath = NULL, *cp; local
759 modpath = strdup(path);
760 if (modpath == NULL)
762 for (cp = modpath; *cp; cp++)
766 if (modpath[0] == '/' && modpath[1] == '/') /* Handle //foo/bar/baz */
767 rv = efipart_to_dp(&mesh, modpath, dp);
768 else if (strchr(modpath, ':')) /* Handle dev:/bar/baz */
769 rv = dev_path_to_dp(&mesh, modpath, dp);
771 rv = path_to_dp(&mesh, modpath, d
[all...]
/freebsd-current/sbin/devmatch/
H A Ddevmatch.c99 char *modpath, *p, *q; local
105 modpath = malloc(buflen);
106 if (modpath == NULL)
107 err(1, "Can't get memory for modpath.");
108 if (sysctlbyname("kern.module_path", modpath, &buflen, NULL, 0) < 0)
110 p = modpath;

Completed in 188 milliseconds