Re: [RFC PATCH 0/8] x86_64: Harden compressed kernel, part 1

Dave Hansen
2022-08-03T14:05:07Z

On 8/2/22 16:45, Evgeniy Baskov wrote:
> Partially. We do have known issues because kernel PE image is not
> compliant with the MS PE and COFF specification v8.3 referenced by
> the UEFI specification. UEFI implementations with stricter PE loaders
> (e.g. mentioned above) fail to boot Linux kernel.

That shows me that it's _possible_ to build a more strict PE loader that
wouldn't load Linux. But, in practice is anyone using a more strict PE
loader? Does anyone actually want that in practice? Or, again, is this
more strict PE loader just an academic demonstration?

The README starts:

This branch demonstrates...

That doesn't seem like something that's _important_ to deal with.
Sounds like a proof-of-concept.

Don't get me wrong, I'm all for improving thing, even if the benefits
are far off. But, let's not fool ourselves.