diff options
author | Arvind Sankar <nivedita@alum.mit.edu> | 2020-03-05 10:01:52 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-03-05 23:53:55 +0100 |
commit | 681ff0181bbfb183e32bc6beb6ec076304470479 (patch) | |
tree | d77d2bc75fb81caa0c73d00a341d700fe0cb37f5 /arch/x86/include/asm/bug.h | |
parent | 98d54f81e36ba3bf92172791eba5ca5bd813989b (diff) |
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
Diffstat (limited to 'arch/x86/include/asm/bug.h')
0 files changed, 0 insertions, 0 deletions