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>

authored by Li Zefan and committed by Ingo Molnar a9cf4ddb e946217e

+1 -1
+1 -1
kernel/sched_debug.c
··· 319 319 { 320 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 323 if (!pe) 324 324 return -ENOMEM; 325 325 return 0;