Messages in this thread |  | | | Date | Tue, 18 Aug 2009 09:59:48 +0800 | | From | Li Zefan <> | | 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);
|  |