Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032130AbbKDSbE (ORCPT ); Wed, 4 Nov 2015 13:31:04 -0500 Received: from mail-pa0-f41.google.com ([209.85.220.41]:33469 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1032083AbbKDSa4 (ORCPT ); Wed, 4 Nov 2015 13:30:56 -0500 Subject: Re: [PATCH v2 2/2] arm: mm: support ARCH_MMAP_RND_BITS. To: Kees Cook References: <1446574204-15567-1-git-send-email-dcashman@android.com> <1446574204-15567-2-git-send-email-dcashman@android.com> <56393FD0.6080001@android.com> Cc: LKML , Russell King - ARM Linux , Andrew Morton , Ingo Molnar , "linux-arm-kernel@lists.infradead.org" , Jonathan Corbet , Don Zickus , "Eric W. Biederman" , Heinrich Schuchardt , jpoimboe@redhat.com, "Kirill A. Shutemov" , n-horiguchi@ah.jp.nec.com, Andrea Arcangeli , Mel Gorman , Thomas Gleixner , David Rientjes , Linux-MM , "linux-doc@vger.kernel.org" , Mark Salyzyn , Jeffrey Vander Stoep , Nick Kralevich , dcashman , Michael Ellerman From: Daniel Cashman Message-ID: <563A4EDC.6090403@android.com> Date: Wed, 4 Nov 2015 10:30:52 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1281 Lines: 29 On 11/3/15 3:21 PM, Kees Cook wrote: > On Tue, Nov 3, 2015 at 3:14 PM, Daniel Cashman wrote: >> On 11/03/2015 11:19 AM, Kees Cook wrote: >>> Do you have patches for x86 and arm64? >> >> I was holding off on those until I could gauge upstream reception. If >> desired, I could put those together and add them as [PATCH 3/4] and >> [PATCH 4/4]. > > If they're as trivial as I'm hoping, yeah, let's toss them in now. If > not, skip 'em. PowerPC, MIPS, and s390 should be relatively simple > too, but one or two of those have somewhat stranger calculations when > I looked, so their Kconfigs may not be as clean. Creating the patches should be simple, it's the choice of minimum and maximum values for each architecture that I'd be most concerned about. I'll put them together, though, and the ranges can be changed following discussion with those more knowledgeable, if needed. I also don't have devices on which to test the PowerPC, MIPS and s390 changes, so I'll need someone's help for that. Thank You, Dan -- 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/