Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935046AbXKPWMy (ORCPT ); Fri, 16 Nov 2007 17:12:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758895AbXKPWMp (ORCPT ); Fri, 16 Nov 2007 17:12:45 -0500 Received: from namei.org ([69.55.235.186]:54041 "EHLO us.intercode.com.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757146AbXKPWMp (ORCPT ); Fri, 16 Nov 2007 17:12:45 -0500 Date: Sat, 17 Nov 2007 09:12:13 +1100 (EST) From: James Morris X-X-Sender: jmorris@us.intercode.com.au To: Eric Paris cc: linux-kernel@vger.kernel.org, sds@tycho.nsa.gov, selinux@tycho.nsa.gov, alan@redhat.com, chrisw@redhat.com, hpa@zytor.com, akpm@linux-foundation.org Subject: Re: [PATCH 3/3] security: allow capable check to permit mmap or low vm space In-Reply-To: <1195250840.2924.113.camel@localhost.localdomain> Message-ID: References: <1195246545.2924.88.camel@localhost.localdomain> <1195250009.2924.103.camel@localhost.localdomain> <1195250840.2924.113.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1110 Lines: 27 On Fri, 16 Nov 2007, Eric Paris wrote: > When this protection was originally concieved it intentionally was > offing something even without an more 'full featured' LSM. That was the > whole reason I had to drop the secondary stacking hook inside the > selinux code. > > While I now understand the question, I think that this is the behavior > most people would want. I'll revert the security enhancement for > non-LSM systems if others agree with James, but I think adding another > small bit of protection against kernel flaws for everyone who wants > security is a win. (and remember, in kernel we still default this to > off so noone is going to 'accidentally' see and security checks in the > dummy hooks) If it's off by default and generally useful across LSMs, why not just put it in the base kernel code? - James -- James Morris - 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/