Lines Matching refs:envinit
234 static char **envinit = newenv;
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[basicenv] != NULL; basicenv++)
2267 envinit[basicenv++] = timez;
2279 envinit[basicenv++] = shell;
2284 envinit[basicenv++] = mail;
2300 envinit[basicenv++] = *lenvp;
2327 if (strncmp(envinit[j], *lenvp, length) == 0) {
2331 envinit[j] = *lenvp;
2339 envinit[basicenv++] = *lenvp;
2370 envinit[basicenv+k] = malloc(total);
2371 if (envinit[basicenv+k] == NULL) {
2375 (void) snprintf(envinit[basicenv+k], total, "L%d=%s",
2391 if (strncmp(*envp, envinit[i], length)
2393 envinit[i] = *envp;
2403 envinit[basicenv+k] = *envp;
2414 environ = envinit;
2490 for (i = 0; envinit[i] != NULL; ++i) {
2491 if ((envinit[i] == shell) &&