Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5024615ybi; Mon, 3 Jun 2019 23:22:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqxBPf5ka6jS62TqoChjg/CzJcedyfjNok1HGlZVzY8T/0ZjiYjsqkQCk+sZN2fbAlrjv4va X-Received: by 2002:a17:902:b201:: with SMTP id t1mr35145909plr.328.1559629331786; Mon, 03 Jun 2019 23:22:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559629331; cv=none; d=google.com; s=arc-20160816; b=P+a8DsPfSvS7WeNLAMSeMSVy28EzOOUO7hd5lUaV2XZtsbza6yWtuK2LzFKzzBNUCO iA40cOVSfGeK+/21gY4Vuf+0V3o4cuyq04Vf6BqTmssWwH/vU4Pi+y0FggRCcRM5XKa1 mOSCvBf16pkGyLEpcScFfPbbm6svMi9nXNLljx0WJ5pA16wJEfbG4GPJb+BEkCdwzj7C CtdOy7a2ZBIq03rvakk5ibITwqDkCyb1LH6FS1r2teMqhJIKhPKnKIT/B1SHlYtif3kV hTNnS08nHjsU9s/g9Pt04ZnvMB4WQMtltAtnNS6xb/S0WbTP4BX8mSioCeNjAAaQZ87s 8iLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=eHyQiJSise48agNV3lIMDqHOs424fUmklxkPGM5JfwU=; b=Ao7uB91FFadHL+5uBRsuZ97cUS08MVouGb4/j0UzyJCafBy+8f5neByA/0p+4hZRSv kSzuIOI6+wfk0yeo4hPF2HUh0C21F0SFQiMGA7Pw5C5FnoOWvJSlxNlj+0kPfTbVo8yM I3iMMKrOjPJ3GYz6iFMSrWBo+9TQ4MYYNxJmRxTBU9crQ3uohX4kvFOqXk9irdUBh/Y6 F4a7wmLwRxdgzRMFu3GPd2ou29O9F2jEGOH86SsgdpMoRi+bu+pkAKGePH+d5fsWTGOg ngVsfStvyU8bS8MLw40HHMcbx92hJHh29VkjWZGU1RcyfzD9rtxPwznP+P/FIyy84GJi CZEA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d92si1199252pld.262.2019.06.03.23.21.53; Mon, 03 Jun 2019 23:22:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726708AbfFDGUs (ORCPT + 99 others); Tue, 4 Jun 2019 02:20:48 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:35619 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726595AbfFDGUs (ORCPT ); Tue, 4 Jun 2019 02:20:48 -0400 X-Originating-IP: 79.86.19.127 Received: from [192.168.0.12] (127.19.86.79.rev.sfr.net [79.86.19.127]) (Authenticated sender: alex@ghiti.fr) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 49FAD1C0009; Tue, 4 Jun 2019 06:20:38 +0000 (UTC) Subject: Re: [PATCH v4 05/14] arm64, mm: Make randomization selected by generic topdown mmap layout To: Catalin Marinas Cc: Albert Ou , Kees Cook , James Hogan , Palmer Dabbelt , Will Deacon , Russell King , Ralf Baechle , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Paul Burton , linux-riscv@lists.infradead.org, Alexander Viro , linux-fsdevel@vger.kernel.org, Andrew Morton , linux-mips@vger.kernel.org, Christoph Hellwig , linux-arm-kernel@lists.infradead.org, Luis Chamberlain References: <20190526134746.9315-1-alex@ghiti.fr> <20190526134746.9315-6-alex@ghiti.fr> <20190603174001.GL63283@arrakis.emea.arm.com> From: Alex Ghiti Message-ID: Date: Tue, 4 Jun 2019 02:20:38 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190603174001.GL63283@arrakis.emea.arm.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-Language: sv-FI Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/3/19 1:40 PM, Catalin Marinas wrote: > On Sun, May 26, 2019 at 09:47:37AM -0400, Alexandre Ghiti wrote: >> This commits selects ARCH_HAS_ELF_RANDOMIZE when an arch uses the generic >> topdown mmap layout functions so that this security feature is on by >> default. >> Note that this commit also removes the possibility for arm64 to have elf >> randomization and no MMU: without MMU, the security added by randomization >> is worth nothing. > Not planning on this anytime soon ;). Great :) Thanks for your time, Alex > > Acked-by: Catalin Marinas > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv