From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Schwidefsky Subject: Re: [PATCH v4 06/10] s390: standardize mmap_rnd() usage Date: Mon, 9 Mar 2015 10:41:36 -0700 Message-ID: <20150309104136.4abdf1bd@mschwide> References: <1425503454-7531-1-git-send-email-keescook@chromium.org> <1425503454-7531-7-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: Received: from e06smtp13.uk.ibm.com ([195.75.94.109]:34025 "EHLO e06smtp13.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750963AbbCIRly (ORCPT ); Mon, 9 Mar 2015 13:41:54 -0400 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:41:52 -0000 In-Reply-To: <1425503454-7531-7-git-send-email-keescook@chromium.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Wed, 4 Mar 2015 13:10:50 -0800 Kees Cook wrote: > In preparation for splitting out ET_DYN ASLR, this refactors the use of > mmap_rnd() to be used similarly to arm and x86, and extracts the checking > of PF_RANDOMIZE. > > Signed-off-by: Kees Cook > --- > arch/s390/mm/mmap.c | 34 +++++++++++++++++++++++----------- > 1 file changed, 23 insertions(+), 11 deletions(-) Patch series including this patch works fine Acked-by: Martin Schwidefsky -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.