]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
bug: use %pB in BUG and stack protector failure
authorKees Cook <keescook@chromium.org>
Fri, 9 Mar 2018 23:50:59 +0000 (15:50 -0800)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Thu, 15 Mar 2018 21:28:59 +0000 (18:28 -0300)
commitae5e66d2fed3cfc7c9f8b0fb97abb9b5d2faaf2f
tree0f3cf11e1a9fe0f2f7016115e32b9cfb5a3664ca
parent168dd4789a0d93dcfd94b9767e579ba05848a5df
bug: use %pB in BUG and stack protector failure

BugLink: http://bugs.launchpad.net/bugs/1756100
commit 0862ca422b79cb5aa70823ee0f07f6b468f86070 upstream.

The BUG and stack protector reports were still using a raw %p.  This
changes it to %pB for more meaningful output.

Link: http://lkml.kernel.org/r/20180301225704.GA34198@beast
Fixes: ad67b74d2469 ("printk: hash addresses printed with %p")
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Richard Weinberger <richard.weinberger@gmail.com>,
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
kernel/panic.c
lib/bug.c