From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759031AbZHRQMv (ORCPT ); Tue, 18 Aug 2009 12:12:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752178AbZHRQMu (ORCPT ); Tue, 18 Aug 2009 12:12:50 -0400 Received: from courier.cs.helsinki.fi ([128.214.9.1]:42850 "EHLO mail.cs.helsinki.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750886AbZHRQMt (ORCPT ); Tue, 18 Aug 2009 12:12:49 -0400 Message-ID: <4A8AD2E6.8090703@cs.helsinki.fi> Date: Tue, 18 Aug 2009 19:12:22 +0300 From: Pekka Enberg User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 To: Li Zefan CC: Amerigo Wang , Christoph Lameter , 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 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> <4A8A0B14.8040700@cn.fujitsu.com> In-Reply-To: <4A8A0B14.8040700@cn.fujitsu.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Li Zefan wrote: >> 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); > I went ahead and fixed that. Applied, thanks everyone!