summaryrefslogtreecommitdiffstats
path: root/sys-utils/wdctl.8
diff options
context:
space:
mode:
authorKarel Zak2012-08-02 17:39:14 +0200
committerKarel Zak2012-08-02 17:39:14 +0200
commit298a073c2afdeb02dd3a8dd2c6fd1f72a3916e44 (patch)
tree116c240ee26b4312ddfa42ee8508cf0407f9d69d /sys-utils/wdctl.8
parenttests: add libmount optstr deduplicate (diff)
downloadkernel-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