From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail138.messagelabs.com (mail138.messagelabs.com [216.82.249.35]) by kanga.kvack.org (Postfix) with SMTP id BD08C6B004D for ; Mon, 17 Aug 2009 22:01:24 -0400 (EDT) Message-ID: <4A8A0B14.8040700@cn.fujitsu.com> Date: Tue, 18 Aug 2009 09:59:48 +0800 From: Li Zefan MIME-Version: 1.0 Subject: Re: [Patch] proc: drop write permission on 'timer_list' and 'slabinfo' References: <20090817094525.6355.88682.sendpatchset@localhost.localdomain> <20090817094822.GA17838@elte.hu> <1250502847.5038.16.camel@penberg-laptop> <4A8986BB.80409@cs.helsinki.fi> <4A8A0B0D.6080400@redhat.com> In-Reply-To: <4A8A0B0D.6080400@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: Amerigo Wang Cc: Christoph Lameter , Pekka Enberg , Ingo Molnar , linux-kernel@vger.kernel.org, Vegard Nossum , Eduard - Gabriel Munteanu , Thomas Gleixner , linux-mm@kvack.org, David Rientjes , Matt Mackall , Arjan van de Ven List-ID: > static int __init slab_proc_init(void) > { > - proc_create("slabinfo",S_IWUSR|S_IRUGO,NULL,&proc_slabinfo_operations); > + proc_create("slabinfo",S_IRUSR|S_IRUGO,NULL,&proc_slabinfo_operations); S_IRUSR|S_IRUGO == S_IRUGO > return 0; > } > module_init(slab_proc_init); -- 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/ . Don't email: email@kvack.org