Date: Mon, 13 Nov 2000 05:22:20 +0900 From: "Daniel C. Sobral" <dcs@newsguy.com> To: mjacob@feral.com Cc: John Baldwin <jhb@FreeBSD.ORG>, current@FreeBSD.ORG, John Polstra <jdp@polstra.com> Subject: Re: savecore broken because kern.bootfile is set wrong Message-ID: <3A0EFBFC.C9CD7BBE@newsguy.com> References: <Pine.LNX.4.21.0011101800040.31159-100000@zeppo.feral.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Jacob wrote: > > Something actually was changed at some point perhaps? > On i386, kernelname is dug out of bootinfo and copied > (in assembler). > > On alpha: > > p = getenv("kernelname"); > if (p) > strncpy(kernelname, p, sizeof(kernelname) - 1); > > > Did the loader used to set kernelname as an environment variable? Yes, kernelname is set in common/load_elf.c. The i386 code strips it of any device prefix, though. The alpha code would do well to do the same. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org capo@world.wide.bsdconspiracy.net He has been convicted of criminal possession of a clue with intent to distribute. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A0EFBFC.C9CD7BBE>