OSDN Git Service

arm64/vdso: don't leak kernel addresses
authorMatteo Croce <mcroce@redhat.com>
Mon, 1 Apr 2019 10:44:47 +0000 (12:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jan 2020 13:50:36 +0000 (14:50 +0100)
commit40ad6e3ae43d290de3ff2555c7dc696d203ad626
tree5c83b7edf05988811378fe10f758cb6dfa62a138
parent6c5df6f63e8f98fe89c41c879385105bd0952248
arm64/vdso: don't leak kernel addresses

[ Upstream commit 0f1bf7e39822476b2f921435cf990f67a61f5f92 ]

Since commit ad67b74d2469d9b8 ("printk: hash addresses printed with %p"),
two obfuscated kernel pointer are printed at every boot:

    vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))

Remove the the print completely, as it's useless without the addresses.

Fixes: ad67b74d2469d9b8 ("printk: hash addresses printed with %p")
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Matteo Croce <mcroce@redhat.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/kernel/vdso.c