summaryrefslogtreecommitdiff
path: root/coccinelle
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-10-12 18:53:35 +0200
committerLennart Poettering <lennart@poettering.net>2016-10-12 20:25:20 +0200
commitae739cc1edc7cfa9d1afb4b7087c434aadf61a7a (patch)
tree4e53d44cd011ec0fea29b1c4e35de15f4ef48b36 /coccinelle
parent7c07001711ee1f0aa7a3db7b63b354a4800cadcc (diff)
journal: refuse opening journal files from the future for writing
Never permit that we write to journal files that have newer timestamps than our local wallclock has. If we'd accept that, then the entries in the file might end up not being ordered strictly. Let's refuse this with ETXTBSY, and then immediately rotate to use a new file, so that each file remains strictly ordered also be wallclock internally.
Diffstat (limited to 'coccinelle')
0 files changed, 0 insertions, 0 deletions