[LinuxBIOS] patch: extending LAR, and removing elf from linuxbios (it is not needed)

Stefan Reinauer stepan at coresystems.de
Tue Aug 28 18:37:37 CEST 2007

* Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net> [070828 16:59]:
> Can we change the MAGIC to some less likely string, perhaps even with
> version info? A lot of filesystems have mixed-case magic strings, for
> example ReiserFS has "ReIsErFs" or "ReIsEr2Fs" or "ReIsEr3Fs". Nobody is
> going to include such a string by accident in his code.

The chosen string LARCHIVE is already very unlikely. Any other string
would have been hit by Ron, since it was the lar handling code that
produced the string.

Instead of iterating over data, the code should iterate over the linked
list of archive headers. This would easily fix the problem.


coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/

More information about the coreboot mailing list