]> Git Repo - linux.git/commit
kmsg: /proc/kmsg - support reading of partial log records
authorKay Sievers <[email protected]>
Mon, 9 Jul 2012 17:05:10 +0000 (10:05 -0700)
committerGreg Kroah-Hartman <[email protected]>
Mon, 9 Jul 2012 17:05:10 +0000 (10:05 -0700)
commiteb02dac93708f581c99858a19162af8ca2b6bfcb
tree2e749f4599eff44107ecedea84eacd51a859a6a5
parent68b6507dc554ba015b5ed5e13b1ed4993cdf4024
kmsg: /proc/kmsg - support reading of partial log records

Restore support for partial reads of any size on /proc/kmsg, in case the
supplied read buffer is smaller than the record size.

Some people seem to think is is ia good idea to run:
  $ dd if=/proc/kmsg bs=1 of=...
as a klog bridge.

Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=44211
Reported-by: Jukka Ollila <[email protected]>
Signed-off-by: Kay Sievers <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
kernel/printk.c
This page took 0.049414 seconds and 4 git commands to generate.