Searched refs:shellbuf (Results 1 - 2 of 2) sorted by relevance

/freebsd-10-stable/usr.bin/su/
H A Dsu.c165 char *username, *class, shellbuf[MAXPATHLEN]; local
278 shell = strncpy(shellbuf, pwd->pw_shell,
279 sizeof(shellbuf));
280 shellbuf[sizeof(shellbuf) - 1] = '\0';
/freebsd-10-stable/contrib/opie/
H A Dopiesu.c104 static char shellbuf[128] = "SHELL="; variable
107 static char *cleanenv[] = {userbuf, homebuf, shellbuf, pathbuf, 0, 0};
481 lsetenv("SHELL", shell, shellbuf);

Completed in 119 milliseconds