From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Mon, 09 Mar 2015 18:42:23 +0100 (CET) Received: from e06smtp13.uk.ibm.com ([195.75.94.109]:38137 "EHLO e06smtp13.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S27008426AbbCIRmWMQZgu (ORCPT ); Mon, 9 Mar 2015 18:42:22 +0100 Received: from /spool/local by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 9 Mar 2015 17:42:17 -0000 Received: from d06dlp02.portsmouth.uk.ibm.com (9.149.20.14) by e06smtp13.uk.ibm.com (192.168.101.143) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 9 Mar 2015 17:42:14 -0000 Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 7CF6B2190046; Mon, 9 Mar 2015 17:42:05 +0000 (GMT) Received: from d06av01.portsmouth.uk.ibm.com (d06av01.portsmouth.uk.ibm.com [9.149.37.212]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t29HgErl57278604; Mon, 9 Mar 2015 17:42:14 GMT Received: from d06av01.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av01.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t29Hg5fT024891; Mon, 9 Mar 2015 11:42:13 -0600 Received: from mschwide (dyn-9-152-212-97.boeblingen.de.ibm.com [9.152.212.97]) by d06av01.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id t29Hg4go024800; Mon, 9 Mar 2015 11:42:04 -0600 Date: Mon, 9 Mar 2015 10:42:03 -0700 From: Martin Schwidefsky To: Kees Cook Cc: akpm@linux-foundation.org, Ingo Molnar , Michael Ellerman , Hector Marco-Gisbert , Ismael Ripoll , Russell King , Catalin Marinas , Will Deacon , Ralf Baechle , Benjamin Herrenschmidt , Paul Mackerras , Heiko Carstens , linux390@de.ibm.com, x86@kernel.org, Alexander Viro , Andy Lutomirski , Oleg Nesterov , "David A. Long" , Andrey Ryabinin , Arun Chandran , Yann Droneaud , Min-Hua Chen , Paul Burton , Alex Smith , Markos Chandras , Vineeth Vijayan , Jeff Bailey , Michael Holzheu , Ben Hutchings , Borislav Petkov , Jan-Simon =?UTF-8?B?TcO2bGxlcg==?= , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@linux-mips.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v4 08/10] s390: redefine randomize_et_dyn for ELF_ET_DYN_BASE Message-ID: <20150309104203.7767babc@mschwide> In-Reply-To: <1425503454-7531-9-git-send-email-keescook@chromium.org> References: <1425503454-7531-1-git-send-email-keescook@chromium.org> <1425503454-7531-9-git-send-email-keescook@chromium.org> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15030917-0013-0000-0000-0000033BD558 Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 46302 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: schwidefsky@de.ibm.com Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips On Wed, 4 Mar 2015 13:10:52 -0800 Kees Cook wrote: > In preparation for moving ET_DYN randomization into the ELF loader (which > requires a static ELF_ET_DYN_BASE), this redefines s390's existing ET_DYN > randomization in a call to arch_mmap_rnd(). This refactoring results in > the same ET_DYN randomization on s390. > > Signed-off-by: Kees Cook > --- > arch/s390/include/asm/elf.h | 8 +++++--- > arch/s390/mm/mmap.c | 11 ++--------- > 2 files changed, 7 insertions(+), 12 deletions(-) Patch series including this patch works fine Acked-by: Martin Schwidefsky -- blue skies, Martin. "Reality continues to ruin my life." - Calvin. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e06smtp16.uk.ibm.com (e06smtp16.uk.ibm.com [195.75.94.112]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 45AE81A075B for ; Tue, 10 Mar 2015 04:42:21 +1100 (AEDT) Received: from /spool/local by e06smtp16.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 9 Mar 2015 17:42:18 -0000 Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 304E91B08061 for ; Mon, 9 Mar 2015 17:42:36 +0000 (GMT) Received: from d06av01.portsmouth.uk.ibm.com (d06av01.portsmouth.uk.ibm.com [9.149.37.212]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t29HgGXP47906880 for ; Mon, 9 Mar 2015 17:42:16 GMT Received: from d06av01.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av01.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t29Hg5fZ024891 for ; Mon, 9 Mar 2015 11:42:15 -0600 Date: Mon, 9 Mar 2015 10:42:03 -0700 From: Martin Schwidefsky To: Kees Cook Subject: Re: [PATCH v4 08/10] s390: redefine randomize_et_dyn for ELF_ET_DYN_BASE Message-ID: <20150309104203.7767babc@mschwide> In-Reply-To: <1425503454-7531-9-git-send-email-keescook@chromium.org> References: <1425503454-7531-1-git-send-email-keescook@chromium.org> <1425503454-7531-9-git-send-email-keescook@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: linux-mips@linux-mips.org, Min-Hua Chen , Heiko Carstens , linux-kernel@vger.kernel.org, Arun Chandran , Paul Mackerras , Ismael Ripoll , Yann Droneaud , linux-s390@vger.kernel.org, Russell King , Andrey Ryabinin , x86@kernel.org, Hector Marco-Gisbert , Ingo Molnar , "David A. Long" , Catalin Marinas , Borislav Petkov , Ben Hutchings , Will Deacon , Alexander Viro , Michael Holzheu , linux-arm-kernel@lists.infradead.org, Jeff Bailey , Paul Burton , Oleg Nesterov , Ralf Baechle , Andy Lutomirski , Vineeth Vijayan , Markos Chandras , Jan-Simon =?UTF-8?B?TcO2bGxlcg==?= , linux-fsdevel@vger.kernel.org, linux390@de.ibm.com, akpm@linux-foundation.org, linuxppc-dev@lists.ozlabs.org, Alex Smith List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 4 Mar 2015 13:10:52 -0800 Kees Cook wrote: > In preparation for moving ET_DYN randomization into the ELF loader (which > requires a static ELF_ET_DYN_BASE), this redefines s390's existing ET_DYN > randomization in a call to arch_mmap_rnd(). This refactoring results in > the same ET_DYN randomization on s390. > > Signed-off-by: Kees Cook > --- > arch/s390/include/asm/elf.h | 8 +++++--- > arch/s390/mm/mmap.c | 11 ++--------- > 2 files changed, 7 insertions(+), 12 deletions(-) Patch series including this patch works fine Acked-by: Martin Schwidefsky -- blue skies, Martin. "Reality continues to ruin my life." - Calvin. From mboxrd@z Thu Jan 1 00:00:00 1970 From: schwidefsky@de.ibm.com (Martin Schwidefsky) Date: Mon, 9 Mar 2015 10:42:03 -0700 Subject: [PATCH v4 08/10] s390: redefine randomize_et_dyn for ELF_ET_DYN_BASE In-Reply-To: <1425503454-7531-9-git-send-email-keescook@chromium.org> References: <1425503454-7531-1-git-send-email-keescook@chromium.org> <1425503454-7531-9-git-send-email-keescook@chromium.org> Message-ID: <20150309104203.7767babc@mschwide> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, 4 Mar 2015 13:10:52 -0800 Kees Cook wrote: > In preparation for moving ET_DYN randomization into the ELF loader (which > requires a static ELF_ET_DYN_BASE), this redefines s390's existing ET_DYN > randomization in a call to arch_mmap_rnd(). This refactoring results in > the same ET_DYN randomization on s390. > > Signed-off-by: Kees Cook > --- > arch/s390/include/asm/elf.h | 8 +++++--- > arch/s390/mm/mmap.c | 11 ++--------- > 2 files changed, 7 insertions(+), 12 deletions(-) Patch series including this patch works fine Acked-by: Martin Schwidefsky -- blue skies, Martin. "Reality continues to ruin my life." - Calvin. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Schwidefsky Subject: Re: [PATCH v4 08/10] s390: redefine randomize_et_dyn for ELF_ET_DYN_BASE Date: Mon, 9 Mar 2015 10:42:03 -0700 Message-ID: <20150309104203.7767babc@mschwide> References: <1425503454-7531-1-git-send-email-keescook@chromium.org> <1425503454-7531-9-git-send-email-keescook@chromium.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: akpm@linux-foundation.org, Ingo Molnar , Michael Ellerman , Hector Marco-Gisbert , Ismael Ripoll , Russell King , Catalin Marinas , Will Deacon , Ralf Baechle , Benjamin Herrenschmidt , Paul Mackerras , Heiko Carstens , linux390@de.ibm.com, x86@kernel.org, Alexander Viro , Andy Lutomirski , Oleg Nesterov , "David A. Long" , Andrey Ryabinin , Arun Chandran , Yann Droneaud , Min-Hua Chen , Paul Burton , Alex Smith , Ma To: Kees Cook Return-path: In-Reply-To: <1425503454-7531-9-git-send-email-keescook@chromium.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Wed, 4 Mar 2015 13:10:52 -0800 Kees Cook wrote: > In preparation for moving ET_DYN randomization into the ELF loader (which > requires a static ELF_ET_DYN_BASE), this redefines s390's existing ET_DYN > randomization in a call to arch_mmap_rnd(). This refactoring results in > the same ET_DYN randomization on s390. > > Signed-off-by: Kees Cook > --- > arch/s390/include/asm/elf.h | 8 +++++--- > arch/s390/mm/mmap.c | 11 ++--------- > 2 files changed, 7 insertions(+), 12 deletions(-) Patch series including this patch works fine Acked-by: Martin Schwidefsky -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.