[PATCH 0/8] Fixes for the system-wide tunables support

Andreas K. Huettel dilfridge@gentoo.org
Tue Jul 7 01:12:21 GMT 2026


Am Dienstag, 7. Juli 2026, 06:14:36 Japanische Normalzeit schrieb Adhemerval Zanella:
> 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

Without looking at the code yet, let's add the whole series as desirable and 
try to get the r-b's and push as quickly as possible?!

Any suggestions who to talk to directly?

> 
> 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(-)
> 
> 


-- 
PD Dr. Andreas K. Hüttel
dilfridge@gentoo.org
Gentoo Linux developer 
(council, comrel, toolchain, base-system, perl, libreoffice)
https://wiki.gentoo.org/wiki/User:Dilfridge
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 870 bytes
Desc: This is a digitally signed message part.
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20260707/1c568495/attachment.sig>


More information about the Libc-alpha mailing list