* [PATCH] sched: change sched_debug's mode to 0444
@ 2008-10-30 7:23 Li Zefan
2008-10-30 10:38 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Li Zefan @ 2008-10-30 7:23 UTC (permalink / raw)
To: Ingo Molnar; +Cc: Peter Zijlstra, LKML
/proc/sched_debug is read-only.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
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 ad958c1..5ae1776 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;
--
1.5.4.rc3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] sched: change sched_debug's mode to 0444
2008-10-30 7:23 [PATCH] sched: change sched_debug's mode to 0444 Li Zefan
@ 2008-10-30 10:38 ` Ingo Molnar
0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2008-10-30 10:38 UTC (permalink / raw)
To: Li Zefan; +Cc: Peter Zijlstra, LKML
* Li Zefan <lizf@cn.fujitsu.com> wrote:
> /proc/sched_debug is read-only.
>
> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
> ---
> kernel/sched_debug.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
applied to tip/sched/urgent, thanks!
Ingo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-30 10:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-30 7:23 [PATCH] sched: change sched_debug's mode to 0444 Li Zefan
2008-10-30 10:38 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox