diff options
author | Karel Zak | 2012-08-02 17:39:14 +0200 |
---|---|---|
committer | Karel Zak | 2012-08-02 17:39:14 +0200 |
commit | 298a073c2afdeb02dd3a8dd2c6fd1f72a3916e44 (patch) | |
tree | 116c240ee26b4312ddfa42ee8508cf0407f9d69d /sys-utils/wdctl.8 | |
parent | tests: add libmount optstr deduplicate (diff) | |
download | kernel-qcow2-util-linux-298a073c2afdeb02dd3a8dd2c6fd1f72a3916e44.tar.gz kernel-qcow2-util-linux-298a073c2afdeb02dd3a8dd2c6fd1f72a3916e44.tar.xz kernel-qcow2-util-linux-298a073c2afdeb02dd3a8dd2c6fd1f72a3916e44.zip |
dmesg: fix kmsg usability detection
On old kernels (<3.5) kernel allows to open read-only /dev/kmsg for
root, but read() returns -EINVAL. It means that open() is not enough
to detect /dev/kmsg usability. We have to call read() (or epoll).
Reported-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/wdctl.8')
0 files changed, 0 insertions, 0 deletions