[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A8AD2E6.8090703@cs.helsinki.fi>
Date: Tue, 18 Aug 2009 19:12:22 +0300
From: Pekka Enberg <penberg@...helsinki.fi>
To: Li Zefan <lizf@...fujitsu.com>
CC: Amerigo Wang <amwang@...hat.com>,
Christoph Lameter <cl@...ux-foundation.org>,
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'
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!
--
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