Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2942826yba; Mon, 22 Apr 2019 16:14:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqwqDfUZb9BNsMirbnHiBSVxADlBJ9IdUquC3rsU5yYC2ofyOtBbi34q4S64ZSIudFYwoKZf X-Received: by 2002:a62:1d0d:: with SMTP id d13mr23346512pfd.96.1555974871997; Mon, 22 Apr 2019 16:14:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555974871; cv=none; d=google.com; s=arc-20160816; b=GbGS4qsYKpv7RCKTCMNQwahRAv57xiVFnAm7+3nX2uHZRz1QTJZTPHoWjn15T3deN5 4QK4vHnkpGtIqN91oyuYMJ6tpvcomQ83usHw7uTEilGZhV3l3qMVzSu6GFHl2HTHlhV+ 5IE5+1YKV7C8RUuS5YYhAW8udmq5tGAoIZUVCGPdJKiPsrOAYD4VdHO0s4mKk3LYm9cU bObfEcbIcJgq1mnRfBHdacdgUD6Na06lsGCDpffT6eup1c76wBWq8prJbP6ui636qME8 BN7VKJw7daYk/SISSpi7OKNDc9dz5FytmYS0GNOO5/vMySTYIYphi0FiIzpQX4wiC50C e6hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=8kGSz+tY92Is3cA66QifDz5Ng7liCQ5M7qpxf6bHXik=; b=iIRheSOoZQwcUka9LAFkFH75dC3hZeE2MZgZJ1tZ24aZqHqXlCtZV4RLfg4obq6pP2 ktDOXnkAXRhK54b+Jscg8pHBqs7CqKFVAN8sL5yLbSRDI1KJriw20MwxVjuXIEN/1xWG 8Uz1L+4YZPvmXU22UQqESvmXhzkNVcPRMFc1pl57PadYQz08yNGarILFR1QYKYkr2++c mn2+hg5L7hJrZ/viPJryDioHWPiWkDfKS5acDIV6UwRmLMeeWLLOnMVmC1dxOTq0kt2P er11VFKemAAPymBe5zmdck5WfaT35Yd8N/ZofzDfzcYe99VIP3MxoAkGSS1uNe2FHEve 86xg== 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 h72si14685195pfd.86.2019.04.22.16.14.16; Mon, 22 Apr 2019 16:14:31 -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 S1731442AbfDVTyB (ORCPT + 99 others); Mon, 22 Apr 2019 15:54:01 -0400 Received: from verein.lst.de ([213.95.11.211]:41690 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731237AbfDVTyA (ORCPT ); Mon, 22 Apr 2019 15:54:00 -0400 Received: by newverein.lst.de (Postfix, from userid 2407) id 44CDD68B02; Mon, 22 Apr 2019 21:53:43 +0200 (CEST) Date: Mon, 22 Apr 2019 21:53:41 +0200 From: Christoph Hellwig To: Alexandre Ghiti Cc: Andrew Morton , Christoph Hellwig , Russell King , Catalin Marinas , Will Deacon , Ralf Baechle , Paul Burton , James Hogan , Palmer Dabbelt , Albert Ou , Alexander Viro , Luis Chamberlain , Kees Cook , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linux-riscv@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH v3 03/11] arm64: Consider stack randomization for mmap base only when necessary Message-ID: <20190422195341.GB2224@lst.de> References: <20190417052247.17809-1-alex@ghiti.fr> <20190417052247.17809-4-alex@ghiti.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190417052247.17809-4-alex@ghiti.fr> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 17, 2019 at 01:22:39AM -0400, Alexandre Ghiti wrote: > Do not offset mmap base address because of stack randomization if > current task does not want randomization. > > Signed-off-by: Alexandre Ghiti Looks good, Reviewed-by: Christoph Hellwig