From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail144.messagelabs.com (mail144.messagelabs.com [216.82.254.51]) by kanga.kvack.org (Postfix) with SMTP id 83CD69000BD for ; Mon, 19 Sep 2011 16:02:41 -0400 (EDT) Date: Mon, 19 Sep 2011 15:02:34 -0500 (CDT) From: Christoph Lameter Subject: Re: [kernel-hardening] Re: [RFC PATCH 2/2] mm: restrict access to /proc/slabinfo In-Reply-To: <14587.1316462369@turing-police.cc.vt.edu> Message-ID: References: <20110910164134.GA2442@albatros> <20110914192744.GC4529@outflux.net> <20110918170512.GA2351@albatros> <20110919144657.GA5928@albatros> <20110919155718.GB16272@albatros> <20110919161837.GA2232@albatros> <20110919173539.GA3751@albatros> <14587.1316462369@turing-police.cc.vt.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Valdis.Kletnieks@vt.edu Cc: Vasiliy Kulikov , Pekka Enberg , Andrew Morton , kernel-hardening@lists.openwall.com, Kees Cook , Cyrill Gorcunov , Al Viro , Christoph Lameter , Matt Mackall , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Dan Rosenberg , Theodore Tso , Alan Cox , Jesper Juhl , Linus Torvalds On Mon, 19 Sep 2011, Valdis.Kletnieks@vt.edu wrote: > On Mon, 19 Sep 2011 12:51:10 CDT, Christoph Lameter said: > > > IMHO a restriction of access to slab statistics is reasonable in a > > hardened environment. Make it dependent on CONFIG_SECURITY or some such > > thing? > > Probably need to invent a separate Kconfig variable - CONFIG_SECURITY > is probably a way-too-big hammer for this nail. I can see lots of systems > that want to enable that, but won't want to tighten access to slab. There is already CONFIG_SECURITY_DMESG_RESTRICT. Generalize that setting to include all sorts of other kernel statistics? -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org