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

Reply via email to