Home
last modified time | relevance | path

Searched refs:new_env (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_exec.c389 char **new_env = { NULL }; in _zexec() local
474 if ((new_env = _zexec_prep_env()) == NULL) { in _zexec()
501 free(new_env); in _zexec()
506 (void) execve(a_path, &a_argv[0], new_env); in _zexec()
568 char **new_env, *estr; in _zexec_prep_env() local
585 if ((new_env = malloc(sizeof (char *) * size)) == NULL) in _zexec_prep_env()
589 free(new_env); in _zexec_prep_env()
592 new_env[e++] = estr; in _zexec_prep_env()
596 free(new_env); in _zexec_prep_env()
599 new_env[e++] = estr; in _zexec_prep_env()
[all …]
/illumos-gate/usr/src/cmd/zlogin/
H A Dzlogin.c1187 char **new_env, *estr; in prep_env() local
1202 if ((new_env = malloc(sizeof (char *) * size)) == NULL) in prep_env()
1207 new_env[e++] = estr; in prep_env()
1212 new_env[e++] = estr; in prep_env()
1218 new_env[e++] = estr; in prep_env()
1222 new_env[e++] = estr; in prep_env()
1225 new_env[e++] = NULL; in prep_env()
1229 return (new_env); in prep_env()
1245 char **new_env; in prep_env_noninteractive() local
1284 if ((new_env = malloc(sizeof (char *) * size)) == NULL) in prep_env_noninteractive()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.telnetd.c2110 new_env(const char *name, const char *value) in new_env() function
4015 if ((new_env("DISPLAY", subpointer)) == 1) in suboption()
4077 if ((new_env(varp, valp)) == 1) { in suboption()
4099 if ((new_env(varp, valp)) == 1) { in suboption()