summaryrefslogtreecommitdiff
path: root/debuginfod/ChangeLog
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <heftig@archlinux.org>2023-03-24 01:48:05 +0100
committerFrank Ch. Eigler <fche@redhat.com>2023-03-30 14:56:26 -0400
commita568e216765d41dacf8718cf2fabeec50bab16a9 (patch)
tree4d445ddb131508f10bc9c1db87a0a5355cd24398 /debuginfod/ChangeLog
parent1b4cf71db1f72c53ff34c0e5c4a9da67dc24fdd6 (diff)
downloadelfutils-a568e216765d41dacf8718cf2fabeec50bab16a9.tar.gz
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>
Diffstat (limited to 'debuginfod/ChangeLog')
-rw-r--r--debuginfod/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/debuginfod/ChangeLog b/debuginfod/ChangeLog
index c8c56232..f13c28d5 100644
--- a/debuginfod/ChangeLog
+++ b/debuginfod/ChangeLog
@@ -1,5 +1,10 @@
2023-03-30 Jan Alexander Steffens (heftig) <heftig@archlinux.org>
+ * debuginfod-client.c (update_atime): New function.
+ (extract_section, debuginfod_query_server): Call it.
+
+2023-03-30 Jan Alexander Steffens (heftig) <heftig@archlinux.org>
+
* debuginfod-client.c (debuginfod_query_server): Don't modify
atime unintentionally.
* debuginfod.cxx (extract_section, handle_buildid_r_match): Ditto.