projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e946217
)
sched: change sched_debug's mode to 0444
author
Li Zefan
<lizf@cn.fujitsu.com>
Thu, 30 Oct 2008 07:23:34 +0000
(15:23 +0800)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 30 Oct 2008 10:37:57 +0000
(11:37 +0100)
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>
kernel/sched_debug.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched_debug.c
b/kernel/sched_debug.c
index ad958c1ec70859704afc3ae3d444c03914b37a6b..5ae17762ec32533dc391a64625198a17a1d67c4f 100644
(file)
--- 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", 0
6
44, NULL, &sched_debug_fops);
+ pe = proc_create("sched_debug", 0
4
44, NULL, &sched_debug_fops);
if (!pe)
return -ENOMEM;
return 0;