Re: [patch] printk from userspace

Linus Torvalds
2002-08-14T04:38:19Z

On Wed, 14 Aug 2002, Benjamin LaHaise wrote:
>
> /dev/kmsg was another suggestion for the name. But please revert the
> yet-another-syscall variant -- having a duplicate way for logging that
> doesn't work with stdio just seems sick to me (sys_syslog should die).

Actually, anybody who uses stdio on syslog messages should be roasted.
Over the nice romantic glow of red-hot coal, slowly cooking the stupid git
alive.

It's not a bug, it's a feature. A syslog message needs to be atomic, which
means that it MUST NOT use the buffering of stdio.

Linus