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)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
He has been convicted of criminal possession of a clue with intent to
distribute.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message
- savecore broken because kern.bootfile is set wrong John Polstra
- Re: savecore broken because kern.bootfile is set wro... Matthew Jacob
- Re: savecore broken because kern.bootfile is set... John Baldwin
- Re: savecore broken because kern.bootfile is... Matthew Jacob
- Re: savecore broken because kern.bootfil... Matthew Jacob
- Re: savecore broken because kern.bo... Mike Smith
- Re: savecore broken because ker... Matthew Jacob
- Re: savecore broken because ker... Daniel C. Sobral
- Re: savecore broken because kern.bo... Bruce Evans
- Re: savecore broken because kern.bo... Daniel C. Sobral
- Re: savecore broken because kern.bootfile is set... Daniel C. Sobral
- Re: savecore broken because kern.bootfile is... Matthew Jacob
- Re: savecore broken because kern.bootfile is set wro... Matthew Jacob
