From: Li Zefan Date: Thu, 30 Oct 2008 07:23:34 +0000 (+0800) Subject: sched: change sched_debug's mode to 0444 X-Git-Tag: v2.6.28-rc3~30^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a9cf4ddb3b2ce03c3027929b22a920aeff933009;p=linux-2.6-omap-h63xx.git sched: change sched_debug's mode to 0444 Impact: change /proc/sched/debug from rw-r--r-- to r--r--r-- /proc/sched_debug is read-only. Signed-off-by: Li Zefan Acked-by: Peter Zijlstra Signed-off-by: Ingo Molnar --- diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c index ad958c1ec70..5ae17762ec3 100644 --- a/kernel/sched_debug.c +++ b/kernel/sched_debug.c @@ -319,7 +319,7 @@ static int __init init_sched_debug_procfs(void) { struct proc_dir_entry *pe; - pe = proc_create("sched_debug", 0644, NULL, &sched_debug_fops); + pe = proc_create("sched_debug", 0444, NULL, &sched_debug_fops); if (!pe) return -ENOMEM; return 0;