Home
last modified time | relevance | path

Searched refs:shellname (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/sys/kern/
H A Dexec_script.c125 char *cp, *shellname, *shellarg; in exec_script_makecmds()
173 shellname = cp; in exec_script_makecmds()
250 strlcpy(tmpsap->fa_arg, shellname, tmpsap->fa_len); in exec_script_makecmds()
290 if ((error = exec_makepathbuf(l, shellname, UIO_SYSSPACE, in exec_script_makecmds()
122 char *cp, *shellname, *shellarg; exec_script_makecmds() local
/netbsd-src/lib/libc/gen/
H A Dgetusershell.c276 char shellname[] = "shells-NNNNNNNNNN"; in _dns_getusershell() local
298 snprintf(shellname, sizeof(shellname), "shells-%d", _dns_state.num); in _dns_getusershell()
301 hp = hesiod_resolve(_dns_state.context, shellname, "shells"); in _dns_getusershell()
/netbsd-src/external/bsd/pcc/dist/pcc/f77/f77/
H A Df77.c83 static char *shellname = "/bin/sh"; variable
544 argv[0] = shellname; in sys()
608 execv(shellname, av); in texec()
/netbsd-src/usr.bin/telnet/
H A Dcommands.c1379 const char *shellp, *shellname; in shell() local
1384 if ((shellname = strrchr(shellp, '/')) == 0) in shell()
1385 shellname = shellp; in shell()
1387 shellname++; in shell()
1389 execl(shellp, shellname, "-c", &saveline[1], NULL); in shell()
1391 execl(shellp, shellname, NULL); in shell()
/netbsd-src/usr.sbin/user/
H A Duser.c1007 valid_shell(const char *shellname) in valid_shell() argument
1014 _PATH_SHELLS, shellname); in valid_shell()
1019 if (strcmp(shellname, _PATH_SBIN_NOLOGIN) == 0) in valid_shell()
1023 if (strcmp(shellp, shellname) == 0) in valid_shell()
1026 warnx("Shell `%s' not found in `%s'", shellname, _PATH_SHELLS); in valid_shell()
1028 return access(shellname, X_OK) != -1; in valid_shell()