timer debug: Hide kernel addresses via %pK in /proc/timer_list
authorKees Cook <kees.cook@canonical.com>
Sat, 12 Feb 2011 03:21:25 +0000 (19:21 -0800)
committerIngo Molnar <mingo@elte.hu>
Sat, 12 Feb 2011 13:11:56 +0000 (14:11 +0100)
commitf590308536db432e4747f562b29e5858123938e9
treeece1e37bcd1f62b22801f43e72cd097b2fc1eee9
parentd2478521afc20227658a10a8c5c2bf1a2aa615b3
timer debug: Hide kernel addresses via %pK in /proc/timer_list

In the continuing effort to avoid kernel addresses leaking to
unprivileged users, this patch switches to %pK for
/proc/timer_list reporting.

Signed-off-by: Kees Cook <kees.cook@canonical.com>
Cc: John Stultz <johnstul@us.ibm.com>
Cc: Dan Rosenberg <drosenberg@vsecurity.com>
Cc: Eugene Teo <eugeneteo@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
LKML-Reference: <20110212032125.GA23571@outflux.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/time/timer_list.c