setenv
setenv("vfs.root.mountfrom", lbuf, 0);
setenv("vfs.root.mountfrom.options", options, 0);
setenv("vfs.root.mountfrom", cp, 0);
if ((err = setenv(argv[1], argv[2], 1)) != 0) {
setenv(name, buf, 1);
setenv("boot.netif.hwaddr", ether_sprintf(d->myea), 1);
setenv("boot.netif.ip", inet_ntoa(myip), 1);
setenv("boot.netif.netmask", intoa(netmask), 1);
setenv("boot.netif.gateway", inet_ntoa(gateip), 1);
setenv("boot.netif.server", inet_ntoa(rootip), 1);
setenv("boot.tftproot.server", inet_ntoa(rootip), 1);
setenv("boot.tftproot.path", rootpath, 1);
setenv("boot.nfsroot.server", inet_ntoa(rootip), 1);
setenv("boot.nfsroot.path", rootpath, 1);
setenv("boot.netif.mtu", mtu, 1);
setenv("prompt", "${interpret}", 1);
setenv("interpret", "ok", 1);
setenv("interpret", bf_vm->state ? "" : "ok", 1);
setenv("kernelname", filename, 1);
setenv("kernelname", fp->f_name, 1);
(void) setenv("os_console", consoles[rv]->c_name, 0);
setenv("tem.cursor.col", buf, 1);
setenv("tem.cursor.row", buf, 1);
setenv("acpi.rsdp", buf, 1);
setenv("acpi.revision", buf, 1);
setenv("acpi.oem", buf, 1);
setenv("acpi.rsdt", buf, 1);
setenv("acpi.xsdt", buf, 1);
setenv("acpi.xsdt_length", buf, 1);
(void) setenv("console", cp->c_name, 1);
setenv("screen-#rows", "24", 1);
setenv("screen-#cols", "80", 1);
setenv("screen-#rows", env, 1);
setenv("screen-#cols", env, 1);
(void) setenv(name, env, 1);
(void) setenv(name, tty->c_name, 1);
(void) setenv(name, ptr, 1);
(void) setenv(name, env, 1);
(void) setenv(name, tty->c_name, 1);
(void) setenv(name, ptr, 1);
setenv("hint.acpi.0.rsdp", buf, 1);
setenv("hint.acpi.0.revision", buf, 1);
setenv("hint.acpi.0.oem", buf, 1);
setenv("hint.acpi.0.rsdt", buf, 1);
setenv("hint.acpi.0.xsdt", buf, 1);
setenv("hint.acpi.0.xsdt_length", buf, 1);
setenv("hint.acpi.0.xsdt", buf, 1);
setenv("hint.acpi.0.xsdt_length", buf, 1);
setenv("hint.acpi.0.rsdp", buf, 1);
setenv("hint.acpi.0.revision", buf, 1);
setenv("hint.acpi.0.oem", buf, 1);
setenv("hint.acpi.0.rsdt", buf, 1);
setenv("zfs-bootonce", bootonce, 1);
(void) setenv(key, buf, 1);
setenv("console", "text", 1);
(void) setenv(name, var, 1);
(void) setenv(name, var, 1);
setenv("ttya-mode", var, 1);
setenv(howto_names[i].ev, "YES", 1);
(void) setenv("console", var, 1);
setenv("screen-#rows", "24", 1);
setenv("currdev", root, 1);
setenv("console", name, 1);
setenv(name, value, 1);
setenv(name, value, 1);
setenv("acpi.rsdp", buf, 1);
setenv("acpi.revision", buf, 1);
setenv("acpi.oem", buf, 1);
setenv("acpi.rsdt", buf, 1);
setenv("acpi.xsdt", buf, 1);
setenv("acpi.xsdt_length", buf, 1);
setenv("pcibios.major", buf, 1);
setenv("pcibios.minor", buf, 1);
setenv("pcibios.config1", buf, 1);
setenv("pcibios.config2", buf, 1);
setenv("pcibios.maxbus", buf, 1);
setenv(howto_names[i].ev, "YES", 1);
rc = setenv("ISADIR", "amd64", 1);
rc = setenv("ISADIR", "", 1);
setenv("kernelname", fp->f_name, 1);
setenv("kernelname", fp->f_name, 1);
setenv("kernelname", filename, 1);
setenv("console", "ttya text", 1);
setenv("console", "text ttya", 1);
setenv("console", "ttya", 1);
setenv("console", "null", 1);
setenv("zfs-bootonce", bootonce, 1);
int setenv(const char *, const char *, int);
setenv(endv, vp, 1);
setenv(env, buf, 0);
setenv(env, tags, 1);
result = setenv(copy, value, 1);
setenv("nfs.read_size", buf, 1);
setenv("boot.nfsroot.server", inet_ntoa(rootip), 1);
setenv("boot.nfsroot.path", rootpath, 1);
setenv("boot.nfsroot.nfshandle", buf, 1);
setenv("boot.nfsroot.nfshandlelen", buf, 1);
setenv(name, val, 1);
setenv(name, uuid, 1);
setenv("smbios.version", buf, 1);
setenv("smbios.memory.enabled", buf, 1);
setenv("smbios.socket.enabled", buf, 1);
setenv("smbios.socket.populated", buf, 1);
extern int setenv(const char *name, const char *value,
setenv("zfs-bootpool", buf, 1);
setenv("zfs-bootvdev", buf, 1);
setenv("zfs-bootfs", buf, 1);
setenv("bootpath", spa->spa_boot_vdev->v_phys_path, 1);
setenv("diskdevid", spa->spa_boot_vdev->v_devid, 1);
if (setenv("METASLOT_ENABLED", "false", 1) < 0) {
(void) setenv("SVCCFG_CHECKHASH", "1", 1);
setenv ("PATH", newpath, TRUE);
(void) setenv("KRB5_DEFAULT_REALM", realm, 1);
if (setenv("METASLOT_ENABLED", "false", 1) < 0) {
if (setenv("DISPLAY", optarg, 1) != 0) {
(void) setenv("XAUTHORITY",
return setenv(nbuf, ++p, 1);
(void) setenv("TZ", "GMT0", 1);
if (setenv("TZ", val, 1) != 0) {
VERIFY0(setenv("ZTEST_FD_DATA", fd_data_str, 1));
VERIFY(0 == setenv("LD_LIBRARY_PATH", libpath, 1));
(void) setenv("screen-height", buf, 1);
(void) setenv("screen-width", buf, 1);
if ((err = setenv(copy, value, 1)) != 0) {
if ((err = setenv(argv[1], argv[2], 1)) != 0) {
(void) setenv(name, buf, 1);
(void) setenv("kernelname", filename, 1);
(void) setenv("ISADIR", "", 1);
(void) setenv("ISADIR", buf, 1);
(void) setenv("currdev", buf, 1);
(void) setenv("console", "text", 1);
(void) setenv("interpret", bf_vm->state ? "" : "ok", 1);
(void) setenv(name, value, 1);
(void) setenv(name, value, overwrite);
(void) setenv("screen-#cols", buffer, 1);
(void) setenv("screen-#rows", buffer, 1);
(void) setenv("prompt", "${interpret}", 1);
(void) setenv("interpret", "ok", 1);
(void) setenv("prompt", "dbg> ", 1);
(void) setenv("prompt", "${interpret}", 1);
extern int setenv(const char *, const char *, int);
return (setenv(name, value, rewrite));
return (setenv("NSS_STRICT_NOFORK", "DISABLED", 1));
return (setenv("NSS_STRICT_NOFORK", enval, 1));
return (setenv(str, tmp, 1));
extern int setenv(const char *, const char *, int);
if (setenv(chop_string(value), chop_string(var_value), 1))
(void) setenv("KRB5_DEFAULT_REALM", realm, 1);
if (setenv(*envp, "de_DE.UTF-8", 1) != 0) {
if (setenv("PATH", test->et_path, 1) != 0) {
if (setenv("TZ", argv[1], 1) != 0) {
setenv("LD_ALTEXEC", ctx->i_linker, 1);