Symbol: setenv
bin/date/date.c
145
(void)setenv("TZ", "UTC0", 1);
bin/date/date.c
191
if (outzone != NULL && setenv("TZ", outzone, 1) != 0)
bin/df/df.c
134
setenv("BLOCKSIZE", "1024", 1);
bin/df/df.c
137
setenv("BLOCKSIZE", "512", 1);
bin/df/df.c
144
setenv("BLOCKSIZE", "1g", 1);
bin/df/df.c
158
setenv("BLOCKSIZE", "1k", 1);
bin/df/df.c
169
setenv("BLOCKSIZE", "1m", 1);
bin/ls/ls.c
367
setenv("CLICOLOR", "", 1);
bin/sh/histedit.c
182
setenv("TERM", term, 1);
bin/sh/var.c
298
(void) setenv(ss, eqp + 1, 1);
crypto/heimdal/kuser/kinit.c
819
setenv("KRB5CCNAME", s, 1);
crypto/heimdal/lib/roken/esetenv.c
43
if (setenv (rk_UNCONST(var), rk_UNCONST(val), rewrite))
crypto/krb5/src/clients/ksu/setenv.c
46
extern int setenv(char *, char *, int);
crypto/krb5/src/kdc/t_sockact.c
115
setenv("LISTEN_FDS", nbuf, 1);
crypto/krb5/src/kdc/t_sockact.c
117
setenv("LISTEN_PID", nbuf, 1);
crypto/openssh/auth-pam.c
497
if (setenv("TZ", tz, 1) == -1)
crypto/openssh/clientloop.c
2752
name = xstrdup(options.setenv[i]);
crypto/openssh/mux.c
1904
if ((term = lookup_env_in_list("TERM", options.setenv,
crypto/openssh/mux.c
1936
if ((r = sshbuf_put_cstring(m, options.setenv[i])) != 0)
crypto/openssh/openbsd-compat/bsd-misc.h
30
int setenv(const char *, const char *, int);
crypto/openssh/openbsd-compat/openbsd-compat.h
134
int setenv(register const char *name, register const char *value, int rewrite);
crypto/openssh/readconf.c
1978
options->setenv = strs;
crypto/openssh/readconf.c
2725
options->setenv = NULL;
crypto/openssh/readconf.c
3129
FREE_ARRAY(u_int, o->num_setenv, o->setenv);
crypto/openssh/readconf.c
3130
free(o->setenv);
crypto/openssh/readconf.c
3735
dump_cfg_strarray(oSetEnv, o->num_setenv, o->setenv);
crypto/openssh/readconf.h
131
char **setenv;
crypto/openssh/readpass.c
282
setenv("SSH_ASKPASS_PROMPT", "none", 1); /* hint to UI */
crypto/openssh/readpass.c
79
setenv("SSH_ASKPASS_PROMPT", env_hint, 1);
crypto/openssh/regress/misc/fuzz-harness/agent_fuzz_helper.c
162
setenv("DISPLAY", "", 1); /* ban askpass */
crypto/openssh/regress/unittests/misc/test_expand.c
32
ASSERT_INT_EQ(setenv("FOO", "bar", 1), 0);
crypto/openssh/regress/unittests/misc/test_expand.c
33
ASSERT_INT_EQ(setenv("BAR", "baz", 1), 0);
crypto/openssh/servconf.c
2283
options->setenv = strs;
crypto/openssh/servconf.c
3351
dump_cfg_strarray(sSetEnv, o->num_setenv, o->setenv);
crypto/openssh/servconf.h
184
char **setenv;
crypto/openssh/servconf.h
312
M_CP_STRARRAYOPT(setenv, num_setenv); \
crypto/openssh/session.c
1160
cp = xstrdup(options.setenv[i]);
crypto/openssh/session.c
1163
fatal("Invalid config SetEnv: %s", options.setenv[i]);
crypto/openssh/ssh-agent.c
2490
if (setenv(SSH_AUTHSOCKET_ENV_NAME, socket_name, 1) == -1 ||
crypto/openssh/ssh-agent.c
2491
setenv(SSH_AGENTPID_ENV_NAME, pidstrbuf, 1) == -1) {
crypto/openssh/ssh.c
1587
char *name = options.setenv[j], *value;
crypto/openssh/ssh.c
1603
free(options.setenv[j]);
crypto/openssh/ssh.c
1605
options.setenv[j] = p;
crypto/openssh/ssh.c
1805
setenv(SSH_AUTHSOCKET_ENV_NAME, p, 1);
crypto/openssh/ssh.c
1808
setenv(SSH_AUTHSOCKET_ENV_NAME, cp, 1);
crypto/openssh/ssh.c
2233
if ((term = lookup_env_in_list("TERM", options.setenv,
crypto/openssh/sshd-auth.c
701
setenv(SSH_AUTHSOCKET_ENV_NAME,
crypto/openssh/sshd-session.c
1118
setenv(SSH_AUTHSOCKET_ENV_NAME,
crypto/openssh/sshd.c
1648
setenv(SSH_AUTHSOCKET_ENV_NAME,
crypto/openssl/test/conf_include_test.c
160
if (!TEST_int_eq(setenv("FNORD", "123", 1), 0)
crypto/openssl/test/conf_include_test.c
190
setenv("FNORD", max, 1);
crypto/openssl/test/conf_include_test.c
198
setenv("FNORD", max, 1);
crypto/openssl/test/testutil/helper.c
70
setenv("TZ", "UTC", 1);
crypto/openssl/test/testutil/helper.c
75
setenv("TZ", tz, 1);
include/stdlib.h
189
int setenv(const char *, const char *, int);
lib/libc/tests/gen/fmtmsg_test.c
229
setenv("MSGVERB", t->msgverb, 1);
lib/libc/tests/gen/posix_spawn_test.c
166
error = setenv("PATH", tc->pathvar, 1);
lib/libc/tests/gen/wordexp_test.c
330
r = setenv("IFS", ":", 1);
lib/libc/tests/gen/wordexp_test.c
352
r = setenv("IFS", ":", 1);
lib/libc/tests/stdlib/clearenv_test.c
115
ATF_CHECK(setenv(TEST_SYSTEM_VARIABLE, "test", 0) != -1);
lib/libc/tests/stdlib/clearenv_test.c
53
ATF_CHECK(setenv(name, value, 0) != -1);
lib/libc/tests/stdlib/clearenv_test.c
74
ATF_CHECK(setenv(TEST_VARIABLE, "true", 0) != -1);
lib/libc/tests/stdlib/getenv_r_test.c
19
ATF_REQUIRE_EQ(0, setenv("ATF_TC_IDENT", ident, 1));
lib/libc/tests/stdlib/getenv_r_test.c
56
ATF_REQUIRE_EQ(0, setenv("ATF_TC_IDENT", ident, 1));
lib/libc/tests/stdtime/detect_tz_changes_test.c
368
setenv("TZ", tzval, 1);
lib/libdpv/dialog_util.c
243
setenv(ENV_XDIALOG_HIGH_DIALOG_COMPAT, "1", 1);
lib/libpmcstat/libpmcstat_logging.c
554
if (setenv("LD_TRACE_LOADED_OBJECTS_FMT1","%o \"%p\" %x\n",1) != 0)
lib/libsecureboot/pass_manifest.c
133
rc = setenv("veriexec.manifest_path", manifest_path, 1);
lib/libsecureboot/pass_manifest.c
137
rc = setenv("veriexec.manifest_hash", manifest_hash, 1);
lib/libsecureboot/pass_manifest.c
144
rc = setenv("veriexec.manifest_prefix", manifest_prefix, 1);
lib/libsecureboot/verify_file.c
628
setenv("loader.ve.pcr", hex, 1);
lib/libsecureboot/verify_file.c
634
setenv("loader.ve.hashed", hinfo, 1);
lib/libsecureboot/verify_file.c
649
setenv("kenv_mvallen", mvallen, 1);
lib/libutil/login_class.c
214
setenv(vars->var, np, vars->overwrite);
lib/libutil/login_class.c
217
setenv(vars->var, vars->def, 0);
lib/libutil/login_class.c
243
setenv(ep, np, 1);
libexec/atf/atf-pytest-wrapper/atf_pytest_wrapper.cpp
175
setenv(kPythonPathEnv.c_str(), python_path.c_str(), 1);
libexec/atf/atf-pytest-wrapper/atf_pytest_wrapper.cpp
185
setenv((kAtfVar + k).c_str(), v.c_str(), 1);
libexec/fingerd/fingerd.c
116
setenv("FINGERD_REMOTE_HOST", rhost, 1);
libexec/flua/linit_flua.c
72
setenv("LUA_PATH", BOOTSTRAP_FLUA_PATH, 1);
libexec/pppoed/pppoed.c
358
if (setenv(HISMACADDR, env, 1) != 0)
libexec/pppoed/pppoed.c
410
if (setenv("ACNAME", sts->hook, 1) != 0)
libexec/pppoed/pppoed.c
417
if (setenv("SESSIONID", sessionid, 1) != 0)
sbin/dump/tape.c
604
if (setenv("DUMP_VOLUME", volno, 1) == -1) {
sbin/init/init.c
934
setenv("HOME", pp->pw_dir, 1);
sbin/init/init.c
937
setenv("HOME", "/", 1);
sbin/mount_fusefs/mount_fusefs.c
384
setenv("FUSE_DEV_FD", fds, 1);
sbin/mount_fusefs/mount_fusefs.c
386
setenv("FUSE_NO_MOUNT", "1", 1);
sbin/restore/tape.c
205
if (setenv("RESTORE_VOLUME", "1", 1) == -1) {
sbin/restore/tape.c
402
if (setenv("RESTORE_VOLUME", volno, 1) == -1) {
stand/common/boot.c
384
setenv("vfs.root.mountfrom", lbuf, 0);
stand/common/boot.c
389
setenv("vfs.root.mountfrom.options", options, 0);
stand/common/boot.c
407
setenv("vfs.root.mountfrom", cp, 0);
stand/common/commands.c
450
setenv(name, buf, 1);
stand/common/dev_net.c
171
setenv("boot.netif.hwaddr", ether_sprintf(d->myea), 1);
stand/common/dev_net.c
172
setenv("boot.netif.ip", inet_ntoa(myip), 1);
stand/common/dev_net.c
173
setenv("boot.netif.netmask", intoa(netmask), 1);
stand/common/dev_net.c
174
setenv("boot.netif.gateway", inet_ntoa(gateip), 1);
stand/common/dev_net.c
175
setenv("boot.netif.server", inet_ntoa(rootip), 1);
stand/common/dev_net.c
177
setenv("boot.tftproot.server", inet_ntoa(rootip), 1);
stand/common/dev_net.c
178
setenv("boot.tftproot.path", rootpath, 1);
stand/common/dev_net.c
180
setenv("boot.nfsroot.server", inet_ntoa(rootip), 1);
stand/common/dev_net.c
181
setenv("boot.nfsroot.path", rootpath, 1);
stand/common/dev_net.c
186
setenv("boot.netif.mtu", mtu, 1);
stand/common/install.c
141
setenv(&tag[4], val, 1);
stand/common/install.c
287
setenv("serverip", inet_ntoa(servip), 1);
stand/common/install.c
299
setenv("install_package", buf, 1);
stand/common/install.c
397
setenv("install_format", "yes", 1);
stand/common/interp.c
78
setenv("prompt", "${interpret}", 1);
stand/common/interp.c
80
setenv("interpret", "OK", 1);
stand/common/interp_forth.c
335
setenv("interpret", bf_vm->state ? "" : "OK", 1);
stand/common/interp_forth.c
347
setenv("script.lang", "forth", 1);
stand/common/interp_lua.c
114
setenv("script.lang", "lua", 1);
stand/common/interp_lua.c
156
setenv("autoboot_delay", "NO", 1);
stand/common/interp_simple.c
46
setenv("script.lang", "simple", 1);
stand/common/load_elf.c
462
setenv("kernelname", filename, 1);
stand/efi/acpica/acpi_detect.c
51
setenv("acpi.rsdp", buf, 1);
stand/efi/acpica/acpi_detect.c
56
setenv("acpi.revision", buf, 1);
stand/efi/acpica/acpi_detect.c
59
setenv("acpi.oem", buf, 1);
stand/efi/acpica/acpi_detect.c
61
setenv("acpi.rsdt", buf, 1);
stand/efi/acpica/acpi_detect.c
66
setenv("acpi.xsdt", buf, 1);
stand/efi/acpica/acpi_detect.c
68
setenv("acpi.xsdt_length", buf, 1);
stand/efi/libefi/efi_console.c
1077
setenv("LINES", env, 1);
stand/efi/libefi/efi_console.c
1079
setenv("COLUMNS", env, 1);
stand/efi/libefi/efihttp.c
127
setenv("boot.netif.hwaddr",
stand/efi/libefi/efihttp.c
130
setenv("boot.netif.ip",
stand/efi/libefi/efihttp.c
132
setenv("boot.netif.netmask",
stand/efi/libefi/efihttp.c
134
setenv("boot.netif.gateway",
stand/efi/loader/arch/amd64/multiboot2.c
524
setenv("kernelname", filename, 1);
stand/efi/loader/main.c
1019
setenv("console", "efi,comconsole", 1);
stand/efi/loader/main.c
1188
setenv("hint.smbios.0.mem", buf, 1);
stand/efi/loader/main.c
1258
setenv("console", "efi", 1);
stand/efi/loader/main.c
1265
setenv("console", "comconsole", 1);
stand/efi/loader/main.c
1354
setenv("console", "comconsole", 1);
stand/efi/loader/main.c
1357
setenv("console", "efi,comconsole", 1);
stand/efi/loader/main.c
1360
setenv("console", "comconsole,efi", 1);
stand/efi/loader/main.c
319
setenv("zfs-bootonce", buf, 1);
stand/efi/loader/main.c
506
setenv("kernel", kernel, 1);
stand/efi/loader/main.c
769
setenv(key, buf, 1);
stand/ficl/loader.c
133
setenv(name, value, overwrite);
stand/ficl/loader.c
95
setenv(name, value, 1);
stand/i386/common/bootargs.h
130
setenv("kern.geom.eli.passphrase", gbdata->gelipw, 1);
stand/i386/gptzfsboot/zfsboot.c
539
setenv("currdev", root, 1);
stand/i386/libi386/biosacpi.c
67
setenv("acpi.rsdp", buf, 1);
stand/i386/libi386/biosacpi.c
72
setenv("acpi.revision", buf, 1);
stand/i386/libi386/biosacpi.c
75
setenv("acpi.oem", buf, 1);
stand/i386/libi386/biosacpi.c
77
setenv("acpi.rsdt", buf, 1);
stand/i386/libi386/biosacpi.c
81
setenv("acpi.xsdt", buf, 1);
stand/i386/libi386/biosacpi.c
83
setenv("acpi.xsdt_length", buf, 1);
stand/i386/libi386/biosmemdisk.c
130
setenv(line, scratch, 1);
stand/i386/libi386/biosmemdisk.c
133
setenv(line, scratch, 1);
stand/i386/libi386/biospci.c
245
setenv("pcibios.major", buf, 1);
stand/i386/libi386/biospci.c
247
setenv("pcibios.minor", buf, 1);
stand/i386/libi386/biospci.c
249
setenv("pcibios.config1", buf, 1);
stand/i386/libi386/biospci.c
251
setenv("pcibios.config2", buf, 1);
stand/i386/libi386/biospci.c
253
setenv("pcibios.maxbus", buf, 1);
stand/i386/libi386/multiboot.c
357
setenv("kernelname", filename, 1);
stand/i386/libi386/vidconsole.c
967
setenv("LINES", env, 1);
stand/i386/libi386/vidconsole.c
969
setenv("COLUMNS", env, 1);
stand/i386/loader/main.c
165
setenv("console", "comconsole,vidconsole", 1);
stand/i386/loader/main.c
167
setenv("console", "vidconsole,comconsole", 1);
stand/i386/loader/main.c
169
setenv("console", "comconsole", 1);
stand/i386/loader/main.c
171
setenv("console", "nullconsole", 1);
stand/i386/loader/main.c
326
setenv("vfs.zfs.boot.primary_pool", buf, 1);
stand/i386/loader/main.c
328
setenv("vfs.zfs.boot.primary_vdev", buf, 1);
stand/i386/loader/main.c
340
setenv("zfs-bootonce", bootonce, 1);
stand/kboot/kboot/arch/aarch64/exec.c
138
setenv("hint.acpi.0.rsdp", buf, 1);
stand/kboot/kboot/arch/aarch64/exec.c
139
setenv("acpi.rsdp", buf, 1);
stand/kboot/kboot/arch/aarch64/exec.c
144
setenv("hint.acpi.0.revision", buf, 1);
stand/kboot/kboot/arch/aarch64/exec.c
145
setenv("acpi.revision", buf, 1);
stand/kboot/kboot/arch/aarch64/exec.c
148
setenv("hint.acpi.0.oem", buf, 1);
stand/kboot/kboot/arch/aarch64/exec.c
149
setenv("acpi.oem", buf, 1);
stand/kboot/kboot/arch/aarch64/exec.c
151
setenv("hint.acpi.0.rsdt", buf, 1);
stand/kboot/kboot/arch/aarch64/exec.c
152
setenv("acpi.rsdt", buf, 1);
stand/kboot/kboot/arch/aarch64/exec.c
157
setenv("hint.acpi.0.xsdt", buf, 1);
stand/kboot/kboot/arch/aarch64/exec.c
158
setenv("acpi.xsdt", buf, 1);
stand/kboot/kboot/arch/aarch64/exec.c
160
setenv("hint.acpi.0.xsdt_length", buf, 1);
stand/kboot/kboot/arch/aarch64/exec.c
161
setenv("acpi.xsdt_length", buf, 1);
stand/kboot/kboot/arch/aarch64/exec.c
172
setenv("hint.acpi.0.rsdp", buf, 1); /* For 13.1R bootability */
stand/kboot/kboot/arch/aarch64/exec.c
173
setenv("acpi.rsdp", buf, 1);
stand/kboot/kboot/arch/amd64/elf64_freebsd.c
211
setenv("acpi.rsdp", buf, 1);
stand/kboot/kboot/arch/powerpc64/load_addr.c
219
setenv("usefdt", "1", 1);
stand/kboot/kboot/hostdisk.c
589
setenv("zfs-bootonce", buf, 1);
stand/kboot/kboot/main.c
350
setenv("hint.smbios.0.mem", buf, 1);
stand/kboot/kboot/main.c
457
setenv("LINES", "24", 1);
stand/liblua/lutils.c
221
lua_pushinteger(L, setenv(key, val, 1));
stand/liblua/lutils.c
401
REG_SIMPLE(setenv),
stand/libsa/bootp.c
704
setenv(endv, vp, 1);
stand/libsa/bootp.c
728
setenv(env, buf, 0);
stand/libsa/bootp.c
734
setenv(env, tags, 1);
stand/libsa/environment.c
179
result = setenv(copy, value, 1);
stand/libsa/environment.c
298
return setenv(name, value, 1);
stand/libsa/geli/gelidev.c
328
setenv("kern.geom.eli.passphrase", gelipw, 1);
stand/libsa/nfs.c
175
setenv("nfs.read_size", buf, 1);
stand/libsa/nfs.c
520
setenv("boot.nfsroot.server", inet_ntoa(rootip), 1);
stand/libsa/nfs.c
521
setenv("boot.nfsroot.path", rootpath, 1);
stand/libsa/nfs.c
522
setenv("boot.nfsroot.nfshandle", buf, 1);
stand/libsa/nfs.c
524
setenv("boot.nfsroot.nfshandlelen", buf, 1);
stand/libsa/smbios.c
244
setenv(name, val, 1);
stand/libsa/smbios.c
311
setenv(name, uuid, 1);
stand/libsa/smbios.c
426
setenv("smbios.bios.revision", buf, 1);
stand/libsa/smbios.c
458
setenv("smbios.chassis.type", smbios_parse_chassis_type(addr), 1);
stand/libsa/smbios.c
657
setenv("smbios.entry_point_type", smbios.is_64bit_ep ?
stand/libsa/smbios.c
660
setenv("smbios.version", buf, 1);
stand/libsa/smbios.c
664
setenv("smbios.memory.enabled", buf, 1);
stand/libsa/smbios.c
668
setenv("smbios.socket.enabled", buf, 1);
stand/libsa/smbios.c
672
setenv("smbios.socket.populated", buf, 1);
stand/libsa/stand.h
380
extern int setenv(const char *name, const char *value,
stand/libsa/zfs/zfs.c
1778
setenv("zfs_be_active", currdev, 1);
stand/libsa/zfs/zfs.c
1779
setenv("zfs_be_currpage", "1", 1);
stand/libsa/zfs/zfs.c
1785
setenv("zfs_be_root", beroot, 1);
stand/libsa/zfs/zfs.c
1807
setenv(envname, name, 1);
stand/libsa/zfs/zfs.c
1843
rv = setenv(envname, envval, 1);
stand/libsa/zfs/zfs.c
1850
setenv(envname, envval, 1);
stand/libsa/zfs/zfs.c
1877
if (setenv("zfs_be_root", name, 1) != 0)
stand/libsa/zfs/zfs.c
1899
if (setenv("zfs_be_pages", becount, 1) != 0)
stand/libsa/zfs/zfs.c
1905
if (setenv("zfs_be_currpage", "1", 1) != 0)
stand/libsa/zfs/zfs.c
1978
rv = setenv(envname, envval, 1);
stand/libsa/zfs/zfs.c
1984
rv = setenv(envname, envval, 1);
stand/libsa/zfs/zfs.c
1990
rv = setenv(envname, "set_bootenv", 1);
stand/libsa/zfs/zfs.c
1997
rv = setenv(envname, envval, 1);
stand/powerpc/ofw/cas.c
251
setenv("radix_mmu", "0", 1);
stand/powerpc/ofw/main.c
181
setenv("cas", "1", 0);
stand/powerpc/ofw/main.c
214
setenv("LINES", "24", 1); /* optional */
stand/powerpc/ofw/main.c
223
setenv("usefdt", "1", 1);
stand/uboot/main.c
541
setenv("LINES", "24", 1); /* optional */
stand/uboot/main.c
542
setenv("prompt", "loader>", 1);
stand/uboot/main.c
544
setenv("usefdt", "1", 1);
stand/uboot/main.c
670
setenv(ldvar, val, 1);
stand/uboot/net.c
120
setenv("dhcp.root-path", rootpath, 0);
stand/userboot/userboot/main.c
188
setenv("LINES", "24", 1); /* optional */
stand/userboot/userboot/main.c
281
setenv("zfs-bootonce", buf, 1);
sys/kern/kern_environment.c
671
EVENTHANDLER_INVOKE(setenv, name);
sys/kern/kern_sysctl.c
1082
EVENTHANDLER_DEFINE(setenv, sysctl_setenv_vnet, NULL, EVENTHANDLER_PRI_ANY);
sys/sys/eventhandler.h
332
EVENTHANDLER_DECLARE(setenv, env_change_fn);
sys/teken/demo/teken_demo.c
301
setenv("TERM", "xterm", 1);
sys/teken/demo/teken_demo.c
302
setenv("LC_CTYPE", "UTF-8", 0);
tests/sys/capsicum/capsicum-test-main.cc
83
assert(setenv("PATH", new_path, 1) == 0);
tools/regression/environ/envctl.c
182
print_rtrn_errno(setenv(NULL, optarg,
tools/regression/environ/envctl.c
188
print_rtrn_errno(setenv(optarg, argv[optind],
tools/regression/environ/retention.c
59
if ((setenv(envName, envValSmall, 1) != 0) ||
tools/regression/environ/retention.c
72
if ((setenv(envName, envValLarge, 1) != 0) ||
tools/regression/environ/retention.c
80
if ((setenv(envName, envValSmall, 1) != 0) ||
tools/regression/environ/retention.c
88
if ((setenv(envName, envValAny, 0) != 0) ||
tools/regression/environ/timings.c
139
if (setenv(name, value2, 1) == -1)
tools/regression/environ/timings.c
91
if (setenv(name, value1, 1) == -1)
usr.bin/calendar/calendar.c
188
if (setenv("TZ", "UTC", 1) != 0)
usr.bin/calendar/calendar.c
216
setenv("HOME", pw->pw_dir, 1);
usr.bin/env/env.c
185
rtrn = setenv(*argv, p + 1, 1);
usr.bin/fetch/fetch.c
1035
setenv("FETCH_BIND_ADDRESS", optarg, 1);
usr.bin/fetch/fetch.c
1038
setenv("FTP_PASSIVE_MODE", "no", 1);
usr.bin/fetch/fetch.c
1041
setenv("HTTP_REFERER", optarg, 1);
usr.bin/fetch/fetch.c
1044
setenv("HTTP_USER_AGENT", optarg, 1);
usr.bin/fetch/fetch.c
1047
setenv("NO_PROXY", optarg, 1);
usr.bin/fetch/fetch.c
1050
setenv("SSL_CA_CERT_FILE", optarg, 1);
usr.bin/fetch/fetch.c
1053
setenv("SSL_CA_CERT_PATH", optarg, 1);
usr.bin/fetch/fetch.c
1056
setenv("SSL_CLIENT_CERT_FILE", optarg, 1);
usr.bin/fetch/fetch.c
1059
setenv("SSL_CLIENT_KEY_FILE", optarg, 1);
usr.bin/fetch/fetch.c
1062
setenv("SSL_CRL_FILE", optarg, 1);
usr.bin/fetch/fetch.c
1065
setenv("SSL_NO_SSL3", "", 1);
usr.bin/fetch/fetch.c
1068
setenv("SSL_NO_TLS1", "", 1);
usr.bin/fetch/fetch.c
1071
setenv("SSL_NO_VERIFY_HOSTNAME", "", 1);
usr.bin/fetch/fetch.c
1074
setenv("SSL_NO_VERIFY_PEER", "", 1);
usr.bin/fetch/fetch.c
1164
if (setenv("NETRC", N_filename, 1) == -1)
usr.bin/ldd/ldd.c
63
setenv("LD_" name, value, overwrite); \
usr.bin/ldd/ldd.c
64
setenv("LD_32_" name, value, overwrite); \
usr.bin/limits/limits.c
476
rtrn = setenv(*argv++, p + 1, 1);
usr.bin/login/login.c
521
setenv("TERM", term, 0);
usr.bin/login/login.c
598
(void)setenv("SHELL", pwd->pw_shell, 1);
usr.bin/login/login.c
599
(void)setenv("HOME", pwd->pw_dir, 1);
usr.bin/login/login.c
602
(void)setenv("TERM", tp, 1);
usr.bin/login/login.c
604
(void)setenv("TERM", TERM_UNKNOWN, 0);
usr.bin/login/login.c
605
(void)setenv("LOGNAME", username, 1);
usr.bin/login/login.c
606
(void)setenv("USER", username, 1);
usr.bin/login/login.c
607
(void)setenv("PATH", rootlogin ? _PATH_STDPATH : _PATH_DEFPATH, 0);
usr.bin/login/login.c
804
rv = setenv(s, p + 1, 1);
usr.bin/mail/tests/mailx_signal_test.c
75
setenv("HOME", ".", 1);
usr.bin/newgrp/newgrp.c
287
setenv("USER", pwd->pw_name, 1);
usr.bin/newgrp/newgrp.c
288
setenv("SHELL", shell, 1);
usr.bin/newgrp/newgrp.c
289
setenv("HOME", pwd->pw_dir, 1);
usr.bin/newgrp/newgrp.c
291
setenv("TERM", term, 1);
usr.bin/newgrp/newgrp.c
293
setenv("KRBTKFILE", ticket, 1);
usr.bin/script/script.c
437
setenv("SCRIPT", fname, 1);
usr.bin/stdbuf/stdbuf.c
93
if (ibuf != NULL && setenv("_STDBUF_I", ibuf, 1) == -1)
usr.bin/stdbuf/stdbuf.c
96
if (obuf != NULL && setenv("_STDBUF_O", obuf, 1) == -1)
usr.bin/stdbuf/stdbuf.c
99
if (ebuf != NULL && setenv("_STDBUF_E", ebuf, 1) == -1)
usr.bin/su/su.c
503
setenv("USER", pwd->pw_name, 1);
usr.bin/su/su.c
504
setenv("HOME", pwd->pw_dir, 1);
usr.bin/su/su.c
505
setenv("SHELL", shell, 1);
usr.bin/su/su.c
521
setenv("TERM", p, 1);
usr.bin/su/su.c
558
setenv(*pp, p + 1, 1);
usr.bin/tabs/tabs.c
111
setenv("TERM", arg + 2, 1);
usr.bin/tabs/tabs.c
115
setenv("TERM", arg, 1);
usr.bin/whereis/whereis.c
404
setenv("MANPATH", colonify(mandirs), 1);
usr.sbin/bsdinstall/partedit/partedit.c
383
setenv("BSDINSTALL_LOG", "/dev/null", 1);
usr.sbin/cron/cron/do_command.c
488
&& setenv("HOME", homedir, 0) < 0) {
usr.sbin/cron/cron/do_command.c
497
if (setenv("PATH", _PATH_DEFPATH, 0) < 0) {
usr.sbin/daemon/daemon.c
675
setenv("USER", pw->pw_name, 1);
usr.sbin/daemon/daemon.c
676
setenv("HOME", pw->pw_dir, 1);
usr.sbin/daemon/daemon.c
677
setenv("SHELL", *pw->pw_shell ? pw->pw_shell : _PATH_BSHELL, 1);
usr.sbin/gssd/gssd.c
1236
setenv("KRB5CCNAME", ccname, TRUE);
usr.sbin/gssd/gssd.c
1288
setenv("KRB5CCNAME", ccname, TRUE);
usr.sbin/gssd/gssd.c
1306
setenv("KRB5CCNAME", ccname, TRUE);
usr.sbin/gssd/gssd.c
394
setenv("KRB5CCNAME", ccname, TRUE);
usr.sbin/gssd/gssd.c
626
setenv("KRB5CCNAME", ccname, TRUE);
usr.sbin/inetd/inetd.c
543
(void)setenv("inetd_dummy", dummy, 1);
usr.sbin/jail/command.c
786
setenv("PATH", "/bin:/usr/bin", 0);
usr.sbin/jail/command.c
788
setenv("TERM", term, 1);
usr.sbin/jail/command.c
803
setenv("USER", pwd->pw_name, 1);
usr.sbin/jail/command.c
804
setenv("HOME", pwd->pw_dir, 1);
usr.sbin/jail/command.c
805
setenv("SHELL",
usr.sbin/jail/command.c
816
setenv("JID", string_param(j->intparams[KP_JID]), 1);
usr.sbin/jail/command.c
818
setenv("JNAME", string_param(j->intparams[KP_NAME]), 1);
usr.sbin/jail/command.c
820
setenv("JPATH", path ? path : "", 1);
usr.sbin/jexec/jexec.c
131
setenv("PATH", "/bin:/usr/bin", 1);
usr.sbin/jexec/jexec.c
133
setenv("TERM", term, 1);
usr.sbin/jexec/jexec.c
142
setenv("USER", pwd->pw_name, 1);
usr.sbin/jexec/jexec.c
143
setenv("HOME", pwd->pw_dir, 1);
usr.sbin/jexec/jexec.c
144
setenv("SHELL",
usr.sbin/pkg/config.c
291
setenv(evkey, ucl_object_tostring_forced(tmp), 1);
usr.sbin/ppp/ether.c
271
if (setenv("ACNAME", sts->hook, 1) != 0)
usr.sbin/ppp/ether.c
278
if (setenv("SESSIONID", sessionid, 1) != 0)
usr.sbin/pstat/pstat.c
135
setenv("BLOCKSIZE", "1G", 1);
usr.sbin/pstat/pstat.c
141
setenv("BLOCKSIZE", "1K", 1);
usr.sbin/pstat/pstat.c
144
setenv("BLOCKSIZE", "1M", 1);
usr.sbin/syslogd/syslogd.c
2624
setenv("TZ", ":/etc/localtime", 1);
usr.sbin/tzsetup/tzsetup.c
707
setenv("TZ", filename, 1);