sd-journal: introduce SD_JOURNAL_ASSUME_IMMUTABLE flag
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 2 Jan 2024 19:28:06 +0000 (04:28 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 11 Feb 2024 17:41:28 +0000 (02:41 +0900)
commitbd1af1d5fb1db9a77e8738ec108bf60ff0cb15f1
treea3aa277a3ca1781436d17b815a185d88a3ffd2e8
parent51b2bcf8356b847e7ab778adfad930691713c7ef
sd-journal: introduce SD_JOURNAL_ASSUME_IMMUTABLE flag

The flag can be used when it is not necessary to follow journal file
update.

Co-authored-by: Costa Tsaousis <costa@netdata.cloud>
src/libsystemd/sd-journal/sd-journal.c
src/systemd/sd-journal.h