[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A8A0B14.8040700@cn.fujitsu.com>
Date: Tue, 18 Aug 2009 09:59:48 +0800
From: Li Zefan <lizf@...fujitsu.com>
To: Amerigo Wang <amwang@...hat.com>
CC: Christoph Lameter <cl@...ux-foundation.org>,
Pekka Enberg <penberg@...helsinki.fi>,
Ingo Molnar <mingo@...e.hu>, linux-kernel@...r.kernel.org,
Vegard Nossum <vegard.nossum@...il.com>,
Eduard - Gabriel Munteanu <eduard.munteanu@...ux360.ro>,
Thomas Gleixner <tglx@...utronix.de>, linux-mm@...ck.org,
David Rientjes <rientjes@...gle.com>,
Matt Mackall <mpm@...enic.com>,
Arjan van de Ven <arjan@...ux.intel.com>
Subject: Re: [Patch] proc: drop write permission on 'timer_list' and 'slabinfo'
> 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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists