[PATCH 0/4] x86: fix kernel address printk exposures

From: Josh Poimboeuf
Date: Tue Oct 25 2016 - 10:51:23 EST


These are some changes suggested by Linus to remove some kernel address
exposures in printk. Most notably, the x86 stack dump no longer prints
full kernel text addresses.

There's also a fix for the faddr2line script which is used for
converting a function offset into a source code file name and line
number.

Josh Poimboeuf (4):
scripts/faddr2line: fix "size mismatch" error
x86/dumpstack: remove kernel text addresses from stack dump
x86/dumpstack: remove raw stack dump
mm: remove kernel address exposure in free_reserved_area()

Documentation/kernel-parameters.txt | 3 --
Documentation/sysctl/kernel.txt | 8 -----
Documentation/x86/x86_64/boot-options.txt | 4 ---
arch/x86/include/asm/kdebug.h | 1 -
arch/x86/include/asm/stacktrace.h | 5 ---
arch/x86/kernel/dumpstack.c | 39 ++++-------------------
arch/x86/kernel/dumpstack_32.c | 33 +------------------
arch/x86/kernel/dumpstack_64.c | 53 +------------------------------
arch/x86/kernel/process_32.c | 7 ++--
arch/x86/kernel/process_64.c | 6 ++--
arch/x86/mm/fault.c | 3 +-
arch/x86/platform/uv/uv_nmi.c | 4 +--
kernel/sysctl.c | 7 ----
mm/page_alloc.c | 4 +--
scripts/faddr2line | 33 ++++++++++++-------
15 files changed, 40 insertions(+), 170 deletions(-)

--
2.7.4