Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/newgrp/
H A Dnewgrp.c70 char *envinit[ELIM]; variable
165 envinit[2] = logname; in main()
167 envinit[0] = homedir; in main()
169 envinit[1] = supath; in main()
171 envinit[1] = path; in main()
172 envinit[3] = NULL; in main()
173 environ = envinit; in main()
/titanic_50/usr/src/cmd/login/
H A Dlogin.c234 static char **envinit = newenv; variable
2137 envinit[0] = SUBLOGIN; in process_chroot_logins()
2138 envinit[1] = (char *)NULL; in process_chroot_logins()
2141 &envinit[0]); in process_chroot_logins()
2142 (void) execle("/etc/login", "login", (char *)0, &envinit[0]); in process_chroot_logins()
2174 envinit = (char **)calloc(lenvp - environ + 10 + MAXARGS + idx, in establish_user_environment()
2176 if (envinit == NULL) { in establish_user_environment()
2190 envinit[basicenv] = pam_env[idx]; in establish_user_environment()
2196 (void) memcpy(&envinit[basicenv], newenv, sizeof (newenv)); in establish_user_environment()
2260 for (basicenv = 0; envinit[basicenv] != NULL; basicenv++) in establish_user_environment()
[all …]
/titanic_50/usr/src/cmd/su/
H A Dsu.c159 char *envinit[ELIM]; variable
501 envinit[envidx = 0] = homedir; in main()
502 envinit[++envidx] = ((uid == (uid_t)ROOT) ? supath : path); in main()
503 envinit[++envidx] = logname; in main()
504 envinit[++envidx] = hzname; in main()
507 envinit[++envidx] = termtyp; in main()
509 envinit[++envidx] = shelltyp; in main()
512 envinit[++envidx] = mail; in main()
550 envinit[++envidx] = var; in main()
571 envinit[++envidx] = tznam; in main()
[all …]
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rexecd.c138 static char *envinit[] = variable
429 envinit[ENVINIT_PATH] = userpath; in doit()
431 envinit[ENVINIT_PATH] = rootpath; in doit()
442 for (end_env = 0; envinit[end_env] != 0; end_env++) in doit()
448 envinit[end_env + idx] = pam_env[idx]; in doit()
461 (void) execle(pwd->pw_shell, cp, "-c", cmdbuf, (char *)0, envinit); in doit()
H A Din.rshd.c402 static char **envinit; variable
1273 NULL, envinit); in doit()
1276 envinit); in doit()
1375 if ((envinit == NULL) || (index == size)) { in add_to_envinit()
1377 envinit = realloc(envinit, (size + 1) * sizeof (char *)); in add_to_envinit()
1378 if (envinit == NULL) { in add_to_envinit()
1384 envinit[index++] = string; in add_to_envinit()
1385 envinit[index] = NULL; in add_to_envinit()
/titanic_50/usr/src/cmd/awk/
H A Dmain.c154 envinit((uchar **)envp); in main()
H A Dawk.h308 extern void envinit(uchar **);
H A Dtran.c155 envinit(uchar *envp[]) in envinit() function
/titanic_50/usr/src/cmd/cron/
H A Dcron.c279 static char *envinit[] = { variable
2433 envinit[2] = supath; in ex()
2435 envinit[2] = path; in ex()
2521 environ = envinit; in ex()