]> git.ipfire.org Git - thirdparty/systemd.git/commit
journal/kmsg: drop old kernels (<3.6) support 37137/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 14 Apr 2025 20:09:28 +0000 (05:09 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 14 Apr 2025 21:19:07 +0000 (06:19 +0900)
commit7566bbc5cb835da0ef401e3d53cf049836b0c095
tree27e6ad43d06aa88ab7d26e6b7f494bd635d6c242
parent9ec1e87bf3f90d4c3ed8bfcf2444eaaaeaadda14
journal/kmsg: drop old kernels (<3.6) support

The flags field was added by kernel v3.6:
https://github.com/torvalds/linux/commit/d39f3d77c9b1fe7cc33a14beb4a4849af0a4ac22

Now our baseline on the kernel is v5.4, so we can assume there exists
the flags field after the monotonic timestamp.

This also adds several short comments.
src/journal/journald-kmsg.c