diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2008-10-30 03:23:34 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-30 06:37:57 -0400 |
commit | a9cf4ddb3b2ce03c3027929b22a920aeff933009 (patch) | |
tree | 8c8162f098ea1f75c96277d41eb6c42afa6b31ea /kernel | |
parent | e946217e4fdaa67681bbabfa8e6b18641921f750 (diff) |
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 <lizf@cn.fujitsu.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sched_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c index ad958c1ec708..5ae17762ec32 100644 --- a/kernel/sched_debug.c +++ b/kernel/sched_debug.c | |||
@@ -319,7 +319,7 @@ static int __init init_sched_debug_procfs(void) | |||
319 | { | 319 | { |
320 | struct proc_dir_entry *pe; | 320 | struct proc_dir_entry *pe; |
321 | 321 | ||
322 | pe = proc_create("sched_debug", 0644, NULL, &sched_debug_fops); | 322 | pe = proc_create("sched_debug", 0444, NULL, &sched_debug_fops); |
323 | if (!pe) | 323 | if (!pe) |
324 | return -ENOMEM; | 324 | return -ENOMEM; |
325 | return 0; | 325 | return 0; |