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:
e56f31a
)
sched debug: dont print kernel address in /proc/sched_debug
author
Ingo Molnar
<mingo@elte.hu>
Fri, 10 Aug 2007 21:05:11 +0000
(23:05 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Fri, 10 Aug 2007 21:05:11 +0000
(23:05 +0200)
Arjan van de Ven pointed out that we should not print kernel addresses
in world-readable /proc files - fix that.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
kernel/sched_debug.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched_debug.c
b/kernel/sched_debug.c
index 3da32156394e9e172075038f35242c77e025a6f1..87e524762b858725207b540c2f4e51a2f230fde3 100644
(file)
--- a/
kernel/sched_debug.c
+++ b/
kernel/sched_debug.c
@@
-108,7
+108,7
@@
print_cfs_rq_runtime_sum(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq)
void print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq)
{
- SEQ_printf(m, "\ncfs_rq
%p\n", cfs_rq
);
+ SEQ_printf(m, "\ncfs_rq
\n"
);
#define P(x) \
SEQ_printf(m, " .%-30s: %Ld\n", #x, (long long)(cfs_rq->x))