User: Password:
|
|
Subscribe / Log in / New account

Sanitizing log file output

Sanitizing log file output

Posted Jul 7, 2011 16:59 UTC (Thu) by dgm (subscriber, #49227)
In reply to: Sanitizing log file output by malor
Parent article: Sanitizing log file output

But the truth is you shouldn't. Specially when the fix is so easy: use less instead of cat.

It's not the kernel's responsibility to know that some data is dangerous to the program you use to display it. "Sane data" is something that's completely different if you are using a VT-100 or a web browser. Trying to force this kind of policy where it doesn't belong is clearly shortsighted.


(Log in to post comments)


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds