]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolved: store the mtime of the file we read
authorLennart Poettering <lennart@poettering.net>
Fri, 8 Dec 2017 15:53:36 +0000 (16:53 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 8 Dec 2017 16:25:08 +0000 (17:25 +0100)
commitace68cd7117869fdeb3b3c352ae5eca730111830
treed394760cf009cbf6744280bf1dd15663e17a0237
parent043d3928780b474c38c3d7d0f5a5ef785fd7bc10
resolved: store the mtime of the file we read

Let's make sure we use the mtime of the current fstat() data, rather
than the mtime of the old stat(), fixing a theoretical race.
src/resolve/resolved-resolv-conf.c