Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 2 Jul 2011 20:33:23 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Solar Designer <solar@...nwall.com>
Cc: kernel-hardening@...ts.openwall.com,
        Vasiliy Kulikov
 <segoon@...nwall.com>,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        Andrew Morton <akpm@...ux-foundation.org>,
        James Morris
 <jmorris@...ei.org>, Namhyung Kim <namhyung@...il.com>,
        Greg Kroah-Hartman
 <gregkh@...e.de>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] kernel: escape non-ASCII and control characters in
 printk()

> > 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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.