]> git.ipfire.org Git - thirdparty/elfutils.git/commit
debuginfod: When retrieving files from cache, update atime manually
authorJan Alexander Steffens (heftig) <heftig@archlinux.org>
Fri, 24 Mar 2023 00:48:05 +0000 (01:48 +0100)
committerFrank Ch. Eigler <fche@redhat.com>
Thu, 30 Mar 2023 18:56:26 +0000 (14:56 -0400)
commita568e216765d41dacf8718cf2fabeec50bab16a9
tree4d445ddb131508f10bc9c1db87a0a5355cd24398
parent1b4cf71db1f72c53ff34c0e5c4a9da67dc24fdd6
debuginfod: When retrieving files from cache, update atime manually

The cache cleaning logic requires atime to be correct (strictatime or
relatime) but some users on Linux only have noatime.

Attempt to update the atime manually so that the cache works properly.

Signed-off-by: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
debuginfod/ChangeLog
debuginfod/debuginfod-client.c