[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A8A1B2E.20505@redhat.com>
Date: Tue, 18 Aug 2009 11:08:30 +0800
From: Amerigo Wang <amwang@...hat.com>
To: Li Zefan <lizf@...fujitsu.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'
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
>
>
Ah, yeah. Thanks!
Update it.
Signed-off-by: WANG Cong <amwang@...hat.com>
View attachment "proc-file-write-permission-fix2.diff" of type "text/plain" (415 bytes)
Powered by blists - more mailing lists