/src/usr.bin/telnet/ |
commands.c | 1385 const char *shellp, *shellname; 1387 shellp = getenv("SHELL"); 1388 if (shellp == NULL) 1389 shellp = "/bin/sh"; 1390 if ((shellname = strrchr(shellp, '/')) == 0) 1391 shellname = shellp; 1395 execl(shellp, shellname, "-c", &saveline[1], NULL); 1397 execl(shellp, shellname, NULL); 1379 const char *shellp, *shellname; local in function:shell
|
/src/usr.sbin/user/ |
user.c | 1009 char *shellp; local in function:valid_shell 1022 while ((shellp = getusershell()) != NULL) 1023 if (strcmp(shellp, shellname) == 0)
|
/src/usr.bin/ftp/ |
cmds.c | 1429 const char *shellp, *namep; local in function:shell 1442 shellp = getenv("SHELL"); 1443 if (shellp == NULL) 1444 shellp = _PATH_BSHELL; 1445 namep = strrchr(shellp, '/'); 1447 namep = shellp; 1452 fputs(shellp, ttyout); 1456 execl(shellp, shellnam, "-c", altarg, (char *)0); 1459 execl(shellp, shellnam, (char *)0); 1461 warn("Can't execute `%s'", shellp); [all...] |