Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755224Ab3FLG17 (ORCPT ); Wed, 12 Jun 2013 02:27:59 -0400 Received: from mail-we0-f178.google.com ([74.125.82.178]:54935 "EHLO mail-we0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752763Ab3FLG16 (ORCPT ); Wed, 12 Jun 2013 02:27:58 -0400 MIME-Version: 1.0 In-Reply-To: <20130611185846.GA23707@www.outflux.net> References: <20130611185846.GA23707@www.outflux.net> Date: Wed, 12 Jun 2013 09:27:57 +0300 X-Google-Sender-Auth: 7qVBsMwdmjuj9tHe5ABl5nM3jkQ Message-ID: Subject: Re: [PATCH] x86, relocs: move ELF relocation handling to C From: Pekka Enberg To: Kees Cook Cc: LKML , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86 maintainers , David Woodhouse , Yinghai Lu , Matt Fleming , Alexander Duyck Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 861 Lines: 21 Hello Kees, On Tue, Jun 11, 2013 at 9:58 PM, Kees Cook 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 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/