Commit 0f1bf7e3 authored by Matteo Croce's avatar Matteo Croce Committed by Will Deacon

arm64/vdso: don't leak kernel addresses

Since commit ad67b74d ("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: ad67b74d ("printk: hash addresses printed with %p")
Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
Signed-off-by: default avatarMatteo Croce <mcroce@redhat.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 19d6242e
...@@ -146,8 +146,6 @@ static int __init vdso_init(void) ...@@ -146,8 +146,6 @@ static int __init vdso_init(void)
} }
vdso_pages = (vdso_end - vdso_start) >> PAGE_SHIFT; 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. */ /* Allocate the vDSO pagelist, plus a page for the data. */
vdso_pagelist = kcalloc(vdso_pages + 1, sizeof(struct page *), vdso_pagelist = kcalloc(vdso_pages + 1, sizeof(struct page *),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment