]> git.ipfire.org Git - thirdparty/systemd.git/commit
journal/kmsg: drop support old kernels (<3.5) without reading /dev/kmsg support
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 14 Apr 2025 19:34:40 +0000 (04:34 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 14 Apr 2025 20:22:28 +0000 (05:22 +0900)
commitda741d9fd9fe5897209b9f569a42acd00865ed68
treec3112e65a01ca2ff0cf833c0d44a3496136adf38
parentd127423ce6ec0c7274635d830e35a394c4bb2ab1
journal/kmsg: drop support old kernels (<3.5) without reading /dev/kmsg support

/dev/kmsg is readable since kernel v3.5:
https://github.com/torvalds/linux/commit/e11fea92e13fb91c50bacca799a6131c81929986

Now our baseline on the kernel is v5.4. Let's assume /dev/kmsg is always
readable.
src/journal/journald-kmsg.c