]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 8896/1: VDSO: Don't leak kernel addresses
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 31 Jul 2019 11:38:48 +0000 (12:38 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 23 Aug 2019 10:39:32 +0000 (11:39 +0100)
commit69ccfdf98cb5df82251224554a74d5ccbfebf465
tree29f38d439ae3bd977613f60b76a3e48df2af18dc
parent6a0f6f6b09d732c2dc996c47e367880421164ca3
ARM: 8896/1: VDSO: Don't leak kernel addresses

Since commit c50104c2c22fe576 ("printk: hash addresses printed with
%p"), an obfuscated kernel pointer is printed at every boot if
debugging is enabled:

    vdso: 1 text pages at base (____ptrval____)

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

Based on commit 75e00493da6f6aec ("arm64/vdso: don't leak kernel
addresses").

Fixes: c50104c2c22fe576 ("printk: hash addresses printed with %p")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/kernel/vdso.c