Re: [PATCH] x86, relocs: move ELF relocation handling to C

From: Pekka Enberg
Date: Wed Jun 12 2013 - 02:28:03 EST


Hello Kees,

On Tue, Jun 11, 2013 at 9:58 PM, Kees Cook <keescook@xxxxxxxxxxxx> wrote:
> Moves the relocation handling into C, after decompression. This requires
> that the decompressed size is passed to the decompression routine as
> well so that relocations can be found. Only kernels that need relocation
> support will use the code.
>
> Based on work by Neill Clift and Michael Davidson.
>
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>

How does the kernel benefit from this? Are there problems with the current
assembly code? Are you planning to improve the relocation code?

Pekka
--
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/