From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754635AbXF3HwW (ORCPT ); Sat, 30 Jun 2007 03:52:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752253AbXF3HwN (ORCPT ); Sat, 30 Jun 2007 03:52:13 -0400 Received: from smtp2.linux-foundation.org ([207.189.120.14]:46087 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751993AbXF3HwM (ORCPT ); Sat, 30 Jun 2007 03:52:12 -0400 Date: Sat, 30 Jun 2007 00:52:00 -0700 From: Andrew Morton To: Nicholas Miell Cc: Davide Libenzi , Hugh Dickins , Ulrich Drepper , blaisorblade@yahoo.it, Linux Kernel Mailing List Subject: Re: [patch 2/3] MAP_NOZERO - implement sys_brk2() Message-Id: <20070630005200.27d71cc4.akpm@linux-foundation.org> In-Reply-To: <1182982309.2737.9.camel@entropy> References: <1182982309.2737.9.camel@entropy> X-Mailer: Sylpheed 2.4.1 (GTK+ 2.8.17; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 27 Jun 2007 15:11:49 -0700 Nicholas Miell wrote: > I don't think the security issues with this will ever make it > worthwhile. eh, security issues are a corner case. The vast majority of Linux machines are used by a single user who has admin access anyway. This includes all embedded, all consumer and most laptop and desktop. So a reasonable way of getting the benefit of this change into most people's hands is to forget about the uid/euid issues altogether and just have a big fat knob which enables this feature, system-wide. (Radical, huh. But then, I liked single user linux.) A significant problem I see with any such approach is that it yet again weakens the overall testing and QA effort: libc and the kernel now need to be tested with and without this feature, and it's yet another question to be asked of the bug reporters. (But please take none of this as endorsement. For some reason the whole thing gives me the creepies).