Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754715AbbBZWn2 (ORCPT ); Thu, 26 Feb 2015 17:43:28 -0500 Received: from mail-ie0-f171.google.com ([209.85.223.171]:42832 "EHLO mail-ie0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754710AbbBZWnZ (ORCPT ); Thu, 26 Feb 2015 17:43:25 -0500 Message-ID: <54EFA189.3010509@gmail.com> Date: Thu, 26 Feb 2015 14:43:21 -0800 From: David Daney User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: Andrew Morton CC: Ingo Molnar , Hector Marco Gisbert , Kees Cook , LKML , ismael Ripoll , "x86@kernel.org" , "linux-arm-kernel@lists.infradead.org" , Linux MIPS Mailing List , linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH] Fix offset2lib issue for x86*, ARM*, PowerPC and MIPS References: <54EB735F.5030207@upv.es> <20150223205436.15133mg1kpyojyik@webmail.upv.es> <20150224073906.GA16422@gmail.com> <20150226143815.09386fe280c7bd8797048bb2@linux-foundation.org> In-Reply-To: <20150226143815.09386fe280c7bd8797048bb2@linux-foundation.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1796 Lines: 45 On 02/26/2015 02:38 PM, Andrew Morton wrote: [...] > > From: Andrew Morton > Subject: fix-offset2lib-issue-for-x86-arm-powerpc-and-mips-fix > > Consolidate randomize_et_dyn() implementations into fs/binfmt_elf.c. > > There doesn't seem to be a compile-time way of making randomize_et_dyn() > go away on architectures which don't need it, so mark it __weak to cause > it to be discarded at link time. > > Cc: "H. Peter Anvin" > Cc: Benjamin Herrenschmidt > Cc: Catalin Marinas > Cc: Hector Marco Gisbert > Cc: Hector Marco-Gisbert > Cc: Ingo Molnar > Cc: Ismael Ripoll > Cc: Kees Cook > Cc: Ralf Baechle > Cc: Russell King > Cc: Thomas Gleixner > Cc: Will Deacon > Signed-off-by: Andrew Morton [...] > diff -puN arch/arm64/include/asm/elf.h~fix-offset2lib-issue-for-x86-arm-powerpc-and-mips-fix arch/arm64/include/asm/elf.h > --- a/arch/arm64/include/asm/elf.h~fix-offset2lib-issue-for-x86-arm-powerpc-and-mips-fix > +++ a/arch/arm64/include/asm/elf.h > @@ -1,5 +1,5 @@ > /* > - * Copyright (C) 2012 ARM Ltd. > + * Copyright (C) 20q12 ARM Ltd. This particular change looks like it may be a typo. > * > * This program is free software; you can redistribute it and/or modify > * it under the terms of the GNU General Public License version 2 as -- 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/