Messages in this thread | | | Date | Thu, 3 Apr 2014 12:43:08 +0200 | From | Joerg Roedel <> | Subject | Re: [RFC PATCH] cmdline: Hide "debug" from /proc/cmdline |
| |
On Wed, Apr 02, 2014 at 06:47:57PM -0700, Linus Torvalds wrote: > Whether it actually fixes the problem that Borislav had is > questionable, of course. For all I know, systemd debug mode generates > so much data in *other* ways and then causes feedback loops with the > kernel debugging that this patch is totally immaterial, and dmesg was > never the main issue. But unlike the "hide 'debug' from > /proc/cmdline", I think this patch at least _conceptually_ makes a lot > of sense, even if systemd gets fixed, so ...
How about just ignoring writes to /dev/kmsg altogether by default (unless explicitly enabled in Kconfig or on the kernel cmdline)? Maybe I am missing something but what are the legitimate use-cases for generally allowing user-space to write into the kernel-log?
Joerg
| |