Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754318AbZFCTLx (ORCPT ); Wed, 3 Jun 2009 15:11:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753327AbZFCTLq (ORCPT ); Wed, 3 Jun 2009 15:11:46 -0400 Received: from mx2.redhat.com ([66.187.237.31]:40875 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752058AbZFCTLq (ORCPT ); Wed, 3 Jun 2009 15:11:46 -0400 Message-ID: <4A26CAD8.5070901@redhat.com> Date: Wed, 03 Jun 2009 15:11:20 -0400 From: Rik van Riel Organization: Red Hat, Inc User-Agent: Thunderbird 2.0.0.17 (X11/20080915) MIME-Version: 1.0 To: Christoph Lameter CC: Linus Torvalds , "Larry H." , Alan Cox , linux-mm@kvack.org, 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) References: <20090530230022.GO6535@oblivion.subreption.com> <20090531022158.GA9033@oblivion.subreption.com> <20090602203405.GC6701@oblivion.subreption.com> <20090603182949.5328d411@lxorguk.ukuu.org.uk> <20090603180037.GB18561@oblivion.subreption.com> <20090603183939.GC18561@oblivion.subreption.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 760 Lines: 25 Christoph Lameter wrote: > We could just move the check for mmap_min_addr out from > CONFIG_SECURITY? > > > Use mmap_min_addr indepedently of security models > > This patch removes the dependency of mmap_min_addr on CONFIG_SECURITY. > It also sets a default mmap_min_addr of 4096. > > mmapping of addresses below 4096 will only be possible for processes > with CAP_SYS_RAWIO. > > > Signed-off-by: Christoph Lameter Acked-by: Rik van Riel -- All rights reversed. -- 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/