Symbol: setenv
bin/date/date.c
159
(void)setenv("TZ", default_tz, 1);
bin/date/date.c
164
(void)setenv("TZ", "UTC0", 1);
bin/date/date.c
170
(void)setenv("TZ", optarg, 1);
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
271
setenv("POSIXLY_CORRECT", "1", 0);
include/stdlib.h
242
int setenv(const char *, const char *, int);
lib/libc/compat/stdlib/compat_putenv.c
79
rv = setenv(copy, copy + l_name, 1);
lib/libc/net/rcmd.c
469
setenv("RCMD_RELAY_SIGNAL", "YES", 1);
lib/libc/stdlib/setenv.c
52
__weak_alias(setenv,_setenv)
lib/libc/stdlib/setenv.c
61
setenv(const char *name, const char *value, int rewrite)
lib/libc/time/zdump.c
228
if (setenv("TZ", val, 1) != 0) {
lib/libtelnet/forward.c
53
setenv(KRB5_ENV_CCNAME, ccname, 1);
lib/libutil/login_cap.c
491
return setenv(name, value, overwrite);
lib/libwrap/options.c
441
if (setenv(chop_string(value), chop_string(var_value), 1))
libexec/ftpd/ftpd.c
1637
setenv("HOME", homedir, 1);
libexec/rshd/rshd.c
680
setenv("PATH", _PATH_DEFPATH, 1);
libexec/rshd/rshd.c
681
setenv("HOME", pwd->pw_dir, 1);
libexec/rshd/rshd.c
682
setenv("SHELL", pwd->pw_shell, 1);
libexec/rshd/rshd.c
683
setenv("USER", pwd->pw_name, 1);
libexec/telnetd/state.c
1259
(void)setenv("DISPLAY", (char *)subpointer, 1);
libexec/telnetd/state.c
1422
(void)setenv(varp, valp, 1);
libexec/telnetd/state.c
1443
(void)setenv(varp, valp, 1);
libexec/telnetd/sys_term.c
620
setenv("LINEMODE", "real", 1);
libexec/telnetd/sys_term.c
623
setenv("LINEMODE", "kludge", 1);
libexec/telnetd/telnetd.c
726
setenv("TERM", terminaltype[0] ? terminaltype : "network", 1);
sbin/init/init.c
747
(void)setenv("PATH", INIT_PATH, 1);
sys/arch/ia64/stand/common/boot.c
273
setenv("kernelname", name, 1);
sys/arch/ia64/stand/common/boot.c
340
setenv("vfs.root.mountfrom", lbuf, 0);
sys/arch/ia64/stand/common/bootstrap.h
377
extern int setenv(const char *name, const char *value,
sys/arch/ia64/stand/common/commands.c
417
setenv(name, buf, 1);
sys/arch/ia64/stand/common/dev_net.c
302
setenv("boot.netif.ip", inet_ntoa(myip), 1);
sys/arch/ia64/stand/common/dev_net.c
303
setenv("boot.netif.netmask", intoa(netmask), 1);
sys/arch/ia64/stand/common/dev_net.c
304
setenv("boot.netif.gateway", inet_ntoa(gateip), 1);
sys/arch/ia64/stand/common/dev_net.c
305
setenv("boot.netif.hwaddr", temp, 1);
sys/arch/ia64/stand/common/dev_net.c
306
setenv("boot.nfsroot.server", inet_ntoa(rootip), 1);
sys/arch/ia64/stand/common/dev_net.c
307
setenv("boot.nfsroot.path", rootpath, 1);
sys/arch/ia64/stand/common/environment.c
174
result = setenv(copy, value, 1);
sys/arch/ia64/stand/common/interp.c
127
setenv("prompt", "${interpret}", 1);
sys/arch/ia64/stand/common/interp.c
129
setenv("interpret", "OK", 1);
sys/arch/ia64/stand/ia64/efi/main.c
173
setenv("LINES", "24", 1); /* optional */
sys/arch/ia64/stand/ia64/ski/main.c
109
setenv("bootfile", bootfile, 1);
sys/arch/ia64/stand/ia64/ski/main.c
117
setenv("LINES", "24", 1); /* optional */
tests/fs/common/fstest_puffs.c
278
if (setenv("PUFFS_COMFD", comfd, 1) == -1)
tests/fs/common/fstest_puffs.c
368
setenv("P2K_NODETACH", "1", 1);
tests/fs/common/fstest_rumpfs.c
55
res = setenv("RUMP_MEMLIMIT", tmp, 0);
tests/fs/common/fstest_zfs.c
107
setenv("RUMP_SERVER", SRVURL, 1);
tests/fs/common/fstest_zfs.c
110
setenv("RUMPHIJACK", tmpbuf, 1);
tests/fs/common/fstest_zfs.c
111
setenv("LD_PRELOAD", "/usr/lib/librumphijack.so", 1);
tests/fs/common/snapshot.c
176
RL(setenv("RUMP_NCPU", "4", 1));
tests/fs/common/snapshot.c
180
RL(setenv("LD_PRELOAD", "/usr/lib/librumphijack.so", 1));
tests/fs/common/snapshot.c
181
RL(setenv("RUMP_SERVER", "unix://commsock", 1));
tests/fs/common/snapshot.c
182
RL(setenv("RUMPHIJACK", "blanket=/dev/rfss0", 1));
tests/fs/tmpfs/t_renamerace.c
85
setenv("RUMP_NCPU", "2", 1);
tests/kernel/t_filedesc.c
80
setenv("RUMP_NCPU", "2", 1);
tests/lib/libc/gen/t_ctype.c
812
RL(setenv("LIBC_ALLOWCTYPEABUSE", "", 1));
tests/lib/libc/stdlib/t_getenv.c
138
ATF_CHECK(setenv(name, value, 1) != -1);
tests/lib/libc/stdlib/t_getenv.c
139
ATF_CHECK(setenv(name, "foo", 0) != -1);
tests/lib/libc/stdlib/t_getenv.c
152
ATF_CHECK_ERRNO(EINVAL, setenv(NULL, "val", 1) == -1);
tests/lib/libc/stdlib/t_getenv.c
153
ATF_CHECK_ERRNO(EINVAL, setenv("", "val", 1) == -1);
tests/lib/libc/stdlib/t_getenv.c
154
ATF_CHECK_ERRNO(EINVAL, setenv("v=r", "val", 1) == -1);
tests/lib/libc/stdlib/t_getenv.c
155
ATF_CHECK_ERRNO(EINVAL, setenv("var", NULL, 1) == -1);
tests/lib/libc/stdlib/t_getenv.c
157
ATF_CHECK(setenv("var", "=val", 1) == 0);
tests/lib/libc/stdlib/t_getenv.c
174
ATF_CHECK(setenv("mixedcrap", "setenv", 1) != -1);
tests/lib/libc/stdlib/t_getenv.c
183
ATF_CHECK(setenv("mixedcrap", "setenv", 1) != -1);
tests/lib/libc/stdlib/t_getenv.c
60
ATF_CHECK(setenv(name, value, 1) != -1);
tests/lib/libc/stdlib/t_getenv.c
68
ATF_CHECK(setenv(name, value, 1) != -1);
tests/lib/libc/stdlib/t_getenv.c
85
ATF_CHECK(setenv("EVIL", "very=bad", 1) != -1);
tests/lib/libc/stdlib/t_getenv_thread.c
115
ATF_CHECK(setenv(name, value, 1) != -1);
tests/lib/libc/time/t_strptime.c
197
setenv("TZ", "US/Eastern", 1);
tests/lib/libc/time/t_strptime.c
512
setenv("TZ", "UTC", 1);
tests/lib/libcurses/director/director.c
200
if (setenv("TERM", term, 1) != 0)
tests/lib/libcurses/director/director.c
217
if (setenv("TERMINFO", tinfo, 1) != 0)
tests/lib/libcurses/director/director.c
227
if (setenv("TERMINFO", tinfo, 1) != 0)
tests/lib/librumpclient/t_fd.c
114
RL(setenv("RUMP_SERVER", RUMPSERV, 1));
tests/lib/librumpclient/t_fd.c
70
RL(setenv("RUMP_SERVER", RUMPSERV, 1));
tests/lib/libutil/t_parsedate.c
623
setenv("TZ", "UTC", 1);
tests/lib/semaphore/sem.c
129
setenv("RUMP_NCPU", "1", 1);
tests/libexec/ld.elf_so/t_ifunc.c
129
setenv("USE_IFUNC2", envstr[i], 1);
tests/libexec/ld.elf_so/t_ifunc.c
75
setenv("USE_IFUNC2", envstr[i], 1);
tests/rump/rumpkern/t_vm.c
78
setenv("RUMP_MEMLIMIT", buf, 1);
tools/compat/compat_defs.h
584
int setenv(const char *, const char *, int);
usr.bin/calendar/calendar.c
458
if(!cpp_restricted && setenv("CPP_RESTRICTED", "", 1) == -1)
usr.bin/cvslatest/cvslatest.c
277
setenv("TZ", "UTC", 1);
usr.bin/infocmp/infocmp.c
140
setenv("TERMINFO", db, 1);
usr.bin/login/login.c
614
(void)setenv("HOME", pwd->pw_dir, 1);
usr.bin/login/login.c
615
(void)setenv("SHELL", pwd->pw_shell, 1);
usr.bin/login/login.c
625
(void)setenv("TERM", term, 0);
usr.bin/login/login.c
626
(void)setenv("LOGNAME", pwd->pw_name, 1);
usr.bin/login/login.c
627
(void)setenv("USER", pwd->pw_name, 1);
usr.bin/login/login.c
632
(void)setenv("PATH", _PATH_DEFPATH, 0);
usr.bin/login/login.c
637
(void)setenv("KRB5CCNAME", krb5tkfile_env, 1);
usr.bin/login/login_pam.c
568
setenv("TERM", saved_term, 0);
usr.bin/login/login_pam.c
583
(void)setenv("HOME", pwd->pw_dir, 1);
usr.bin/login/login_pam.c
584
(void)setenv("SHELL", pwd->pw_shell, 1);
usr.bin/login/login_pam.c
594
(void)setenv("TERM", term, 0);
usr.bin/login/login_pam.c
595
(void)setenv("LOGNAME", pwd->pw_name, 1);
usr.bin/login/login_pam.c
596
(void)setenv("USER", pwd->pw_name, 1);
usr.bin/make/main.c
2159
setenv("MAKEFLAGS", flags, 1);
usr.bin/make/main.c
756
setenv("PWD", objdir, 1);
usr.bin/make/parse.c
2296
setenv(variable, value, 1);
usr.bin/make/util.c
146
setenv(argv[1], argv[2], 0);
usr.bin/make/var.c
1128
setenv(name, val, 1);
usr.bin/make/var.c
1927
setenv("TZ", "UTC", 1);
usr.bin/make/var.c
1930
setenv("TZ", prev_tz, 1);
usr.bin/make/var.c
4887
(void)setenv("MAKE_STACK_TRACE", stackTrace, 1);
usr.bin/make/var.c
716
setenv(name, val, 1);
usr.bin/make/var.c
733
setenv(name, val, 1);
usr.bin/make/var.c
743
setenv(v->name.str, v->val.data, 1);
usr.bin/make/var.c
767
setenv(v->name.str, v->val.data, 1);
usr.bin/make/var.c
816
setenv(MAKE_LEVEL_ENV, level_buf, 1);
usr.bin/make/var.c
925
setenv(MAKE_LEVEL_ENV, level, 1);
usr.bin/mkdep/mkdep.c
110
if (!setenv("PATH", DEFAULT_PATH, 1))
usr.bin/newgrp/newgrp.c
172
(void)setenv("PATH", _PATH_DEFPATH, 1);
usr.bin/newgrp/newgrp.c
175
(void)setenv("TERM", term, 1);
usr.bin/newgrp/newgrp.c
178
(void)setenv("KRBTKFILE", krbtkfile, 1);
usr.bin/newgrp/newgrp.c
181
(void)setenv("LOGNAME", pwd->pw_name, 1);
usr.bin/newgrp/newgrp.c
182
(void)setenv("USER", pwd->pw_name, 1);
usr.bin/newgrp/newgrp.c
183
(void)setenv("HOME", pwd->pw_dir, 1);
usr.bin/newgrp/newgrp.c
184
(void)setenv("SHELL", pwd->pw_shell, 1);
usr.bin/rsh/rsh.c
140
setenv("RCMD_LOOP", "YES", 1);
usr.bin/rump_allserver/rump_allserver.c
159
setenv("RUMP_NCPU", optarg, 1);
usr.bin/rump_allserver/rump_allserver.c
334
setenv("RUMP_MEMLIMIT", optarg, 1);
usr.bin/rump_allserver/rump_allserver.c
340
setenv("RUMP_VERBOSE", "1", 1);
usr.bin/su/su.c
368
(void)setenv("PATH", _PATH_DEFPATH, 1);
usr.bin/su/su.c
371
(void)setenv("TERM", p, 1);
usr.bin/su/su.c
377
(void)setenv("LOGNAME", pwd->pw_name, 1);
usr.bin/su/su.c
378
(void)setenv("USER", pwd->pw_name, 1);
usr.bin/su/su.c
380
(void)setenv("HOME", pwd->pw_dir, 1);
usr.bin/su/su.c
381
(void)setenv("SHELL", shell, 1);
usr.bin/su/su.c
383
(void)setenv("SU_FROM", username, 1);
usr.bin/su/su.c
515
(void)setenv("KRB5CCNAME", cc_name, 1);
usr.bin/su/su_pam.c
496
(void)setenv("TERM", p, 1);
usr.bin/su/su_pam.c
500
(void)setenv("LOGNAME", pwd->pw_name, 1);
usr.bin/su/su_pam.c
501
(void)setenv("USER", pwd->pw_name, 1);
usr.bin/su/su_pam.c
503
(void)setenv("HOME", pwd->pw_dir, 1);
usr.bin/su/su_pam.c
504
(void)setenv("SHELL", shell, 1);
usr.bin/su/su_pam.c
506
(void)setenv("SU_FROM", username, 1);
usr.bin/xlint/xlint/xlint.c
358
if (abs_cc == NULL && setenv("PATH", _PATH_DEFPATH, 1) == 0)
usr.sbin/npf/npftest/npftest.c
251
setenv("RUMP_NCPU", nthr, 1);
usr.sbin/puffs/rump_syspuffs/rump_syspuffs.c
112
if (setenv("PUFFS_COMFD", comfd, 1) == -1)
usr.sbin/sysinst/main.c
286
setenv("FTPSSLNOVERIFY", "1", 1);
usr.sbin/sysinst/main.c
486
setenv("LC_CTYPE", cp, 1);
usr.sbin/sysinst/util.c
1781
setenv("TZ", tz_env, 1);
usr.sbin/sysinst/util.c
1959
setenv("TZ", tz_env, 1);