Re: [RFC][PATCH 1/2] binfmt_elf: FatELF support in the binaryloader.

From: Nicholas Miell
Date: Thu Oct 22 2009 - 03:31:19 EST


On Mon, 2009-10-19 at 10:39 -0400, Ryan C. Gordon wrote:
> This allows the kernel to load a single file that contains multiple ELF
> binaries (a "FatELF" file), selecting the correct one for the system.
>
> Details, rationale, tools, and patches for handling FatELF binaries can be
> found at http://icculus.org/fatelf/
>
> Please note that this requires userspace changes to be truly effective,
> but a simple "hello world" FatELF binary can work with just the kernel
> loader.

Apple's fat binaries have the virtue of allowing redundant identical
sections to be merged among the different included binaries, but your
format can't do that.

Could you explain how your FatELF format is an improvement over multiple
ELF binaries and a simple shell script that selects between them?

--
Nicholas Miell <nmiell@xxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/