From: Kay Sievers Date: Mon, 9 Jul 2012 17:05:10 +0000 (-0700) Subject: kmsg: /proc/kmsg - support reading of partial log records X-Git-Tag: v3.5-rc7~29^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb02dac93708f581c99858a19162af8ca2b6bfcb;p=pandora-kernel.git 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 Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed