diff options
author | Kay Sievers <kay@vrfy.org> | 2012-07-09 13:05:10 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-09 13:05:10 -0400 |
commit | eb02dac93708f581c99858a19162af8ca2b6bfcb (patch) | |
tree | 2e749f4599eff44107ecedea84eacd51a859a6a5 /kernel/kallsyms.c | |
parent | 68b6507dc554ba015b5ed5e13b1ed4993cdf4024 (diff) |
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 <jiiksteri@gmail.com>
Signed-off-by: Kay Sievers <kay@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/kallsyms.c')
0 files changed, 0 insertions, 0 deletions