From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail137.messagelabs.com (mail137.messagelabs.com [216.82.249.19]) by kanga.kvack.org (Postfix) with ESMTP id 2322F5F000E for ; Wed, 3 Jun 2009 12:19:36 -0400 (EDT) Date: Wed, 3 Jun 2009 09:18:22 -0700 (PDT) From: Linus Torvalds Subject: Re: Security fix for remapping of page 0 (was [PATCH] Change ZERO_SIZE_PTR to point at unmapped space) In-Reply-To: Message-ID: References: <20090530192829.GK6535@oblivion.subreption.com> <20090530230022.GO6535@oblivion.subreption.com> <20090531022158.GA9033@oblivion.subreption.com> <20090602203405.GC6701@oblivion.subreption.com> <1244041914.12272.64.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org To: Christoph Lameter Cc: Stephen Smalley , "Larry H." , linux-mm@kvack.org, Alan Cox , Rik van Riel , linux-kernel@vger.kernel.org, pageexec@freemail.hu List-ID: On Wed, 3 Jun 2009, Christoph Lameter wrote: > > mmap_min_addr depends on CONFIG_SECURITY which establishes various > strangely complex "security models". > > The system needs to be secure by default. It _is_ secure by default. You have to do some pretty non-default things to get away from it. But I do agree that it might be good to move the thing into the generic path. I just don't think your arguments are very good. It's not about defaults, it's about the fact that this isn't worth being hidden by that security layer. Linus -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org