From: Ingo Molnar Date: Fri, 10 Aug 2007 21:05:11 +0000 (+0200) Subject: sched debug: dont print kernel address in /proc/sched_debug X-Git-Tag: v2.6.23-rc3~13^2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5167e75f4d2d10bff6afee1f358313e87b4df246;p=linux-2.6 sched debug: dont print kernel address in /proc/sched_debug 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 Signed-off-by: Arjan van de Ven --- diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c index 3da3215639..87e524762b 100644 --- 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))