Home | History | Annotate | Download | only in dropbear

Lines Matching refs:shells

86 static char **curshell, **shells, *strings;
204 * Get a list of shells from /etc/shells, if it exists.
219 if (shells != NULL)
220 free(shells);
221 shells = NULL;
240 if (shells != NULL)
241 free(shells);
242 shells = NULL;
246 if ((fp = fopen("/etc/shells", "rc")) == NULL)
256 shells = calloc((unsigned)statb.st_size / 3, sizeof (char *));
257 if (shells == NULL) {
263 sp = shells;
278 return (shells);