Messages in this thread | | | Date | Sun, 8 Jul 2012 13:59:11 +0100 | From | Alan Cox <> | Subject | Re: Bug 44211 - /proc/kmsg does not (always) block for 1-byte reads |
| |
> The patch will not fix the underlying problem, but just make it behave > more like it was and allow partial message reads. This is a years old > problem, the net is full of bugreports of stuff going wrong with > running dd bs=1 on /proc/kmsg. It is a really stupid idea, and can not > work for many other reasons too. The interface can not safely be used > that way, it does not have the usual semantics, it always returned 0 > for read() whenever it needed to.
If you are breaking the semantics perhaps that should also get fixed ?
Alan
| |