Messages in this thread | | | Date | Tue, 18 Aug 2009 19:12:22 +0300 | From | Pekka Enberg <> | 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!
| |