Searched refs:envinit (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/cmd/newgrp/
H A Dnewgrp.c70 char *envinit[ELIM]; variable
165 envinit[2] = logname;
167 envinit[0] = homedir;
169 envinit[1] = supath;
171 envinit[1] = path;
172 envinit[3] = NULL;
173 environ = envinit;
/illumos-gate/usr/src/cmd/login/
H A Dlogin.c234 static char **envinit = newenv; variable
2137 envinit[0] = SUBLOGIN;
2138 envinit[1] = (char *)NULL;
2141 &envinit[0]);
2142 (void) execle("/etc/login", "login", (char *)0, &envinit[0]);
2174 envinit = (char **)calloc(lenvp - environ + 10 + MAXARGS + idx,
2176 if (envinit == NULL) {
2190 envinit[basicenv] = pam_env[idx];
2196 (void) memcpy(&envinit[basicenv], newenv, sizeof (newenv));
2260 for (basicenv = 0; envinit[basicen
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rexecd.c138 static char *envinit[] = variable
146 #define ENVINIT_PATH 2 /* position of PATH in envinit[] */
429 envinit[ENVINIT_PATH] = userpath;
431 envinit[ENVINIT_PATH] = rootpath;
442 for (end_env = 0; envinit[end_env] != 0; end_env++)
448 envinit[end_env + idx] = pam_env[idx];
461 (void) execle(pwd->pw_shell, cp, "-c", cmdbuf, (char *)0, envinit);
H A Din.rshd.c389 * used in the call to execle(). envinit is declared here,
402 static char **envinit; variable
1273 NULL, envinit);
1276 envinit);
1367 * should be enough to avoid reallocation of "envinit" in most cases.
1375 if ((envinit == NULL) || (index == size)) {
1377 envinit = realloc(envinit, (size + 1) * sizeof (char *));
1378 if (envinit == NULL) {
1384 envinit[inde
[all...]
/illumos-gate/usr/src/cmd/su/
H A Dsu.c159 char *envinit[ELIM]; variable
501 envinit[envidx = 0] = homedir;
502 envinit[++envidx] = ((uid == (uid_t)ROOT) ? supath : path);
503 envinit[++envidx] = logname;
504 envinit[++envidx] = hzname;
507 envinit[++envidx] = termtyp;
509 envinit[++envidx] = shelltyp;
512 envinit[++envidx] = mail;
550 envinit[++envidx] = var;
571 envinit[
[all...]
/illumos-gate/usr/src/cmd/awk/
H A Dmain.c154 envinit((uchar **)envp);
H A Dawk.h308 extern void envinit(uchar **);
H A Dtran.c155 envinit(uchar *envp[]) function
/illumos-gate/usr/src/cmd/cron/
H A Dcron.c279 static char *envinit[] = { variable
2433 envinit[2] = supath;
2435 envinit[2] = path;
2521 environ = envinit;

Completed in 80 milliseconds