lkml.org 
[lkml]   [2009]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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!


\
 
 \ /
  Last update: 2009-08-18 18:15    [W:0.067 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site