_PATH_BSHELL
STR_BSHELL = SAVE(_PATH_BSHELL);
shell = _PATH_BSHELL;
shell = _PATH_BSHELL;
execl(_PATH_BSHELL, "sh", "-c", pager, (char *)NULL);
(void)execl(_PATH_BSHELL, "sh", "-c", pager, (char *)NULL);
(void)execl(_PATH_BSHELL, "sh", "-c", pager, (char *)NULL);
"SHELL=" _PATH_BSHELL,
(void)execve(_PATH_BSHELL, memp, envp);
static char *okshells[] = { _PATH_BSHELL, _PATH_CSHELL, _PATH_KSHELL, NULL };
execl(_PATH_BSHELL, "sh", "-c", program, (char *)NULL);
rshprog = _PATH_BSHELL;
execve(_PATH_BSHELL, argp, environ);
execv(_PATH_BSHELL, argp);
shell = _PATH_BSHELL;
int fd = open(_PATH_BSHELL, O_RDONLY);
execv(_PATH_BSHELL, argp);
execl(_PATH_BSHELL, "sh", _PATH_RUNCOM, "shutdown",
stall("can't exec %s for %s %s: %m", _PATH_BSHELL,
strlcpy(shell, _PATH_BSHELL, sizeof shell);
execv(_PATH_BSHELL, argv);
emergency("can't exec %s for single user: %m", _PATH_BSHELL);
execv(_PATH_BSHELL, argv);
stall("can't exec %s for %s: %m", _PATH_BSHELL, _PATH_RUNCOM);
_PATH_BSHELL, _PATH_RUNCOM);
_PATH_BSHELL, _PATH_RUNCOM);
_PATH_BSHELL, _PATH_RUNCOM);
_PATH_BSHELL, _PATH_RUNCOM);
execl(_PATH_BSHELL, "sh", _PATH_RC, "shutdown", (char *)NULL);
execv(_PATH_BSHELL, argp);
if (unveil(_PATH_BSHELL, "x") == -1)
err(1, "unveil %s", _PATH_BSHELL);
execl(_PATH_BSHELL, "sh", _PATH_RC, "shutdown", (char *)NULL);
shell = _PATH_BSHELL;
shell = _PATH_BSHELL;
if (unveil(_PATH_BSHELL, "x") == -1)
err(1, "unveil %s", _PATH_BSHELL);
*pw->pw_shell ? pw->pw_shell : _PATH_BSHELL);
*pw->pw_shell ? pw->pw_shell : _PATH_BSHELL);
pw->pw_shell = _PATH_BSHELL;
execl(_PATH_BSHELL, "sh", "-c", cmd, (char *)NULL);
execl(_PATH_BSHELL, "sh", "-c", cmd, (char *)NULL);
execv(_PATH_BSHELL, argp);
execv(_PATH_BSHELL, argp);
(void)printf("\tShell: %-s\n", *pn->shell ? pn->shell : _PATH_BSHELL);
shellp = _PATH_BSHELL;
shell = _PATH_BSHELL;
execv(_PATH_BSHELL, argv);
execv(_PATH_BSHELL, argp);
shargv[0] = _PATH_BSHELL;
var_set_value(v, _PATH_BSHELL);
shellp = _PATH_BSHELL;
if (unveil(_PATH_BSHELL, "x") == -1)
err(1, "unveil %s", _PATH_BSHELL);
if (execv(_PATH_BSHELL, argp) == -1) {
(void) execl(_PATH_BSHELL, "sh", "-c", cmd, (char *)NULL);
shell = _PATH_BSHELL;
execv(_PATH_BSHELL, argp);
warn("unable to execute %s", _PATH_BSHELL);
execv(_PATH_BSHELL, argp);
if (unveil(_PATH_BSHELL, "x") == -1)
err(2, "unveil %s", _PATH_BSHELL);
execv(_PATH_BSHELL, argp);
_PATH_BSHELL : pw->pw_shell); /* empty = /bin/sh */
shell = _PATH_BSHELL;
shell = (pw->pw_shell[0] == '\0') ? _PATH_BSHELL : pw->pw_shell;
if (xasprintf(&cmd, "%s -c '%s %s'", shell, _PATH_BSHELL,
fprintf(stderr, "Running %s %s\n", _PATH_BSHELL,
f = popen(_PATH_BSHELL " " _PATH_SSH_SYSTEM_RC, "w");
shell = _PATH_BSHELL;
shell = _PATH_BSHELL;
shell = _PATH_BSHELL;
shell = _PATH_BSHELL;
shell = _PATH_BSHELL;
shell = _PATH_BSHELL;
shell = _PATH_BSHELL;
execl(_PATH_BSHELL, "sh", "-c", cmd, (char *) NULL);
shell = _PATH_BSHELL;
shell = _PATH_BSHELL;
.default_str = _PATH_BSHELL,
shell = _PATH_BSHELL;
shell = _PATH_BSHELL;
shell = _PATH_BSHELL;
tmp = _PATH_BSHELL;
return (_PATH_BSHELL);
if (unveil(_PATH_BSHELL, "x") == -1)
err(1, "unveil %s", _PATH_BSHELL);
r = execl(_PATH_BSHELL, "sh", "-c", cmdbuf, (char *)NULL);
"shell=%s", (s = getenv("SHELL")) == NULL ? _PATH_BSHELL : s);
if (unveil(xflag ? cmdv[0] : _PATH_BSHELL, "x") == -1)
execl(_PATH_BSHELL, _PATH_BSHELL, "-c", cmdstr, NULL);
shell = _PATH_BSHELL;
if (execve(_PATH_BSHELL, nargv, nenvp) != 0) {
warn("unable to execute %s", _PATH_BSHELL);
_PATH_BSHELL);
execv(_PATH_BSHELL, argp);
warn("unable to execute %s", _PATH_BSHELL);
if (snprintf(envstr, sizeof envstr, "SHELL=%s", _PATH_BSHELL) >=
execv(_PATH_BSHELL, argp);
if (unveil(_PATH_BSHELL, "x") == -1)
fatal("unveil %s", _PATH_BSHELL);
execv(_PATH_BSHELL, argp);
if (unveil(_PATH_BSHELL, "x") == -1)
err(1, "unveil %s", _PATH_BSHELL);
if (unveil(_PATH_BSHELL, "x") == -1)
err(1, "unveil %s", _PATH_BSHELL);