[PATCH 0/8] Fixes for the system-wide tunables support
Adhemerval Zanella
adhemerval.zanella@linaro.org
Mon Jul 6 21:14:36 GMT 2026
While going back over the system-wide tunables support (the
/etc/tunables.conf data stored in ld.so.cache) I found some minor
problems (I missed the last version of that series before it went in).
The following are bugfixes and are important for the next release:
- Add system-wide tunables: implement overridability
- elf: Bound the tunable cache string table against the mapping size
- elf: Verify the tunable cache header signature and version
- elf: Avoid redundant ld.so.cache reload after first load
- elf: Let environment aliases override overridable system-wide tunables
The remaining patches are cleanup and documentation with no urgency, but
I still think we should have for 2.44 since it is the first version
with system-wide tunables.
This ison top of DJ patch for system-wide tunable overridability [1].
[1] https://sourceware.org/pipermail/libc-alpha/2026-July/178518.html
Adhemerval Zanella (8):
elf: Bound the tunable cache string table against the mapping size
elf: Verify the tunable cache header signature and version
elf: Avoid redundant ld.so.cache reload after first load
elf: Let environment aliases override overridable system-wide tunables
elf: Emit tunconf "not recognized" warning on stderr
manual: Document default AT_SECURE handling for system-wide tunables
elf: Remove _dl_unload_cache
elf: Remove unused tunable_seclevel_t
elf/Makefile | 7 +++-
elf/dl-cache.c | 47 +++++++++++++------------
elf/dl-open.c | 5 ---
elf/dl-tunable-types.h | 14 --------
elf/dl-tunables.c | 20 +++++++++--
elf/rtld.c | 5 ---
elf/tst-tunconf1.c | 24 +++++++++++++
elf/tst-tunconf1.root/etc/tunables.conf | 9 +++++
elf/tunconf.c | 4 +--
manual/tunables.texi | 16 +++++++++
sysdeps/generic/ldsodefs.h | 6 ----
11 files changed, 100 insertions(+), 57 deletions(-)
--
2.43.0
More information about the Libc-alpha
mailing list