ARM: 8896/1: VDSO: Don't leak kernel addresses
Since commitad67b74d24
("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 commit0f1bf7e398
("arm64/vdso: don't leak kernel addresses"). Fixes:ad67b74d24
("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>
This commit is contained in:
parent
2a58e142a6
commit
3e07590e72
|
@ -194,7 +194,6 @@ static int __init vdso_init(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
text_pages = (vdso_end - vdso_start) >> PAGE_SHIFT;
|
text_pages = (vdso_end - vdso_start) >> PAGE_SHIFT;
|
||||||
pr_debug("vdso: %i text pages at base %p\n", text_pages, vdso_start);
|
|
||||||
|
|
||||||
/* Allocate the VDSO text pagelist */
|
/* Allocate the VDSO text pagelist */
|
||||||
vdso_text_pagelist = kcalloc(text_pages, sizeof(struct page *),
|
vdso_text_pagelist = kcalloc(text_pages, sizeof(struct page *),
|
||||||
|
|
Loading…
Reference in New Issue