summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMatteo Croce <mcroce@redhat.com>2019-04-01 12:44:47 +0200
committerWill Deacon <will.deacon@arm.com>2019-04-03 13:22:20 +0100
commit0f1bf7e39822476b2f921435cf990f67a61f5f92 (patch)
treef0b25da95df5b3802d08360d7dce3e1fac1496eb /arch
parent19d6242ece1f35aa004a7da9adf52e0ec18a854e (diff)
downloadlinux-0f1bf7e39822476b2f921435cf990f67a61f5f92.tar.gz
linux-0f1bf7e39822476b2f921435cf990f67a61f5f92.tar.bz2
linux-0f1bf7e39822476b2f921435cf990f67a61f5f92.zip
arm64/vdso: don't leak kernel addresses
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/kernel/vdso.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm64/kernel/vdso.c b/arch/arm64/kernel/vdso.c
index 2d419006ad43..9fb0c0c95a85 100644
--- a/arch/arm64/kernel/vdso.c
+++ b/arch/arm64/kernel/vdso.c
@@ -146,8 +146,6 @@ static int __init vdso_init(void)
}
vdso_pages = (vdso_end - vdso_start) >> PAGE_SHIFT;
- pr_info("vdso: %ld pages (%ld code @ %p, %ld data @ %p)\n",
- vdso_pages + 1, vdso_pages, vdso_start, 1L, vdso_data);
/* Allocate the vDSO pagelist, plus a page for the data. */
vdso_pagelist = kcalloc(vdso_pages + 1, sizeof(struct page *),