Re: [PATCH v2] kernel: escape non-ASCII and control characters inprintk()

From: Alan Cox
Date: Sat Jul 02 2011 - 15:31:28 EST


> > Your syslog daemon appears to need improvement
>
> syslogd definitely should (and does) perform escaping of control chars
> for logs written through it.
>
> > and that would be the right fix for dmesg etc.
>
> How? We can't realistically expect everyone to stop invoking dmesg
> directly. Moreover, this is sometimes useful, although someone who is

No but you could make "dmesg" do filtering.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/