Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753096AbYCTEG6 (ORCPT ); Thu, 20 Mar 2008 00:06:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750816AbYCTEGu (ORCPT ); Thu, 20 Mar 2008 00:06:50 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:42861 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750813AbYCTEGt (ORCPT ); Thu, 20 Mar 2008 00:06:49 -0400 Date: Wed, 19 Mar 2008 21:04:36 -0700 From: Arjan van de Ven To: Christoph Lameter Cc: akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [1/2] vmalloc: Show vmalloced areas via /proc/vmallocinfo Message-ID: <20080319210436.191bb8fe@laptopd505.fenrus.org> In-Reply-To: <20080318222827.291587297@sgi.com> References: <20080318222701.788442216@sgi.com> <20080318222827.291587297@sgi.com> Organization: Intel X-Mailer: Claws Mail 3.2.0 (GTK+ 2.12.5; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 734 Lines: 23 On Tue, 18 Mar 2008 15:27:02 -0700 Christoph Lameter wrote: > Implement a new proc file that allows the display of the currently > allocated vmalloc memory. > + proc_create("vmallocinfo",S_IWUSR|S_IRUGO, NULL, why should non-root be able to read this? sounds like a security issue (info leak) to me... -- If you want to reach me at my work email, use arjan@linux.intel.com For development, discussion and tips for power savings, visit http://www.lesswatts.org -- 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/