From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932721AbZHRCBW (ORCPT ); Mon, 17 Aug 2009 22:01:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758566AbZHRCBV (ORCPT ); Mon, 17 Aug 2009 22:01:21 -0400 Received: from cn.fujitsu.com ([222.73.24.84]:58783 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1753278AbZHRCBU (ORCPT ); Mon, 17 Aug 2009 22:01:20 -0400 Message-ID: <4A8A0B14.8040700@cn.fujitsu.com> Date: Tue, 18 Aug 2009 09:59:48 +0800 From: Li Zefan User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Thunderbird/3.0b2 MIME-Version: 1.0 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 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: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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);