Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758547AbZFCQUU (ORCPT ); Wed, 3 Jun 2009 12:20:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757195AbZFCQUH (ORCPT ); Wed, 3 Jun 2009 12:20:07 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:41423 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757158AbZFCQUG (ORCPT ); Wed, 3 Jun 2009 12:20:06 -0400 Date: Wed, 3 Jun 2009 09:18:22 -0700 (PDT) From: Linus Torvalds X-X-Sender: torvalds@localhost.localdomain 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 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> User-Agent: Alpine 2.01 (LFD 1184 2008-12-16) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 791 Lines: 23 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 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/