[PATCH 0/4] printk: Fixes and hardening related to KERN_CONT

From: Petr Mladek
Date: Thu Oct 27 2016 - 11:53:19 EST


The first patch fixes a messed output of continuous lines
when printing backtraces for all CPUs via NMI. It works
well for me.

The other patches fix problems that I noticed when working
on the first patch. It would be great if the respective
maintainers could do some more testing of them.

Well, it touches several modules. But they are related
to one commit so I send them together. Note that the 4th
patch depends on the 2nd one.

Petr Mladek (4):
printk/NMI: Handle continuous lines and missing newline
printk/kdb: Handle more message headers
printk/btrfs: Handle more message headers
printk/sound: Handle more message headers

fs/btrfs/super.c | 28 +++++++++--------
include/linux/printk.h | 8 +++++
kernel/debug/kdb/kdb_io.c | 2 +-
kernel/printk/nmi.c | 78 +++++++++++++++++++++++++++++------------------
sound/core/misc.c | 22 +++++++------
5 files changed, 86 insertions(+), 52 deletions(-)

--
1.8.5.6