x86/mm/init/32: Stop printing the virtual memory layout
authorArvind Sankar <nivedita@alum.mit.edu>
Thu, 5 Mar 2020 15:01:52 +0000 (10:01 -0500)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 5 Mar 2020 22:53:55 +0000 (23:53 +0100)
commit681ff0181bbfb183e32bc6beb6ec076304470479
treed77d2bc75fb81caa0c73d00a341d700fe0cb37f5
parent98d54f81e36ba3bf92172791eba5ca5bd813989b
x86/mm/init/32: Stop printing the virtual memory layout

For security reasons, don't display the kernel's virtual memory layout.

Kees Cook points out:
"These have been entirely removed on other architectures, so let's
just do the same for ia32 and remove it unconditionally."

071929dbdd86 ("arm64: Stop printing the virtual memory layout")
1c31d4e96b8c ("ARM: 8820/1: mm: Stop printing the virtual memory layout")
31833332f798 ("m68k/mm: Stop printing the virtual memory layout")
fd8d0ca25631 ("parisc: Hide virtual kernel memory layout")
adb1fe9ae2ee ("mm/page_alloc: Remove kernel address exposure in free_reserved_area()")

Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Tycho Andersen <tycho@tycho.ws>
Acked-by: Kees Cook <keescook@chromium.org>
Link: https://lkml.kernel.org/r/20200305150152.831697-1-nivedita@alum.mit.edu
arch/x86/mm/init_32.c