]> git.ipfire.org Git - thirdparty/util-linux.git/commit
dmesg: make kmsg read() buffer big enough for kernel
authoranteater <65555601+nt8r@users.noreply.github.com>
Mon, 29 May 2023 20:59:11 +0000 (20:59 +0000)
committerGitHub <noreply@github.com>
Mon, 29 May 2023 20:59:11 +0000 (20:59 +0000)
commitefb18899d23d8bbfa56f871c0d1fd44ac6bb838e
tree48a4c12aa928c456c5411772e57ad98360fa1e37
parent96c8ff27a4779f00955c1c264d43991f0ab77eba
dmesg: make kmsg read() buffer big enough for kernel

otherwise, if the kernel log has an item longer than 1024B, our read() gives EINVAL and we stop reading kmsg
sys-utils/dmesg.c