Searched defs:shells (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dgetusershell.c16 #define SHELLS "/etc/shells"
19 * Do not add local shells here. They should be added in /etc/shells
24 static char **shells, *strings; variable
30 * Get a list of shells from SHELLS, if it exists.
49 if (shells != NULL)
50 free((char *)shells);
51 shells = NULL;
72 if (shells != NULL)
73 free((char *)shells);
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetusershell.c26 #define SHELLS "/etc/shells"
29 * Do not add local shells here. They should be added in /etc/shells
31 * Do not add restricted shells:
35 * - by default, ftp in is allowed only for shells returned by
80 static char **shells, *strings; variable
85 * Get a list of shells from SHELLS, if it exists.
104 if (shells != NULL)
105 (void) free((char *)shells);
106 shells
[all...]

Completed in 44 milliseconds