summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKarel Zak2019-06-06 11:17:13 +0200
committerKarel Zak2019-06-17 15:47:39 +0200
commitb3dd29d1b878865102c5cb366dd3e814ce043cb9 (patch)
tree46d32f2850fd0b0b14a3f23cdfc12c642a29d2dd /lib
parentlib/path: make sure ul_path_read_buffer() derminate result (diff)
downloadkernel-qcow2-util-linux-b3dd29d1b878865102c5cb366dd3e814ce043cb9.tar.gz
kernel-qcow2-util-linux-b3dd29d1b878865102c5cb366dd3e814ce043cb9.tar.xz
kernel-qcow2-util-linux-b3dd29d1b878865102c5cb366dd3e814ce043cb9.zip
wdctl; read from /sys if necessary
The device can be inaccessible for non-root user or busy (already used by another process). In this case it seems better to read information from /sys. Note that /sys does not provide struct watchdog_info.options, so we cannot print list of supported watchdog features. Addresses: https://github.com/karelzak/util-linux/issues/804 Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions