Skip to contentSkip to conversation

sched: change sched_debug's mode to 0444

PATCH Applied Li Zefan 2 participants 2 messages Oct 30, 2008

lore
Share & tools
lore

Li Zefan

author
#0 lore raw

PATCH 1/1 sched: change sched_debug's mode to 0444

/proc/sched_debug is read-only.

---
 kernel/sched_debug.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/sched_debug.c +1 -1
index ad958c1..5ae1776 100644
@@ -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;
Signature · 1 line
1.5.4.rc3
Applied
#1 lore raw
Quoted 6 lines · Li Zefan

/proc/sched_debug is read-only.

---
 kernel/sched_debug.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

applied to tip/sched/urgent, thanks!

Ingo