]> git.ipfire.org Git - thirdparty/glibc.git/commit
elf: Change ldconfig auxcache magic number (bug 32231)
authorFlorian Weimer <fweimer@redhat.com>
Mon, 28 Oct 2024 13:45:30 +0000 (14:45 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 29 Oct 2024 09:01:33 +0000 (10:01 +0100)
commita4d9258090d32ac154226b45c7e4309bd22825e9
treeec6da8a801c66ed40345558b689f54a057ff5d08
parent0141e7c794afc0404d3bf6fd0771a324ccb8a81c
elf: Change ldconfig auxcache magic number (bug 32231)

In commit c628c2296392ed3bf2cb8d8470668e64fe53389f (elf: Remove
ldconfig kernel version check), the layout of auxcache entries
changed because the osversion field was removed from
struct aux_cache_file_entry.  However, AUX_CACHEMAGIC was not
changed, so existing files are still used, potentially leading
to unintended ldconfig behavior.  This commit changes AUX_CACHEMAGIC,
so that the file is regenerated.

Reported-by: DJ Delorie <dj@redhat.com>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
(cherry picked from commit 0a536f6e2f76e3ef581b3fd9af1e5cf4ddc7a5a2)
NEWS
elf/cache.c