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

"Andreas K. Huettel" <[email protected]>
Newsgroups gmane.comp.lib.glibc.alpha
Organization Gentoo Linux
Message-ID <[email protected]>
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
[email protected]
Gentoo Linux developer 
(council, comrel, toolchain, base-system, perl, libreoffice)
https://wiki.gentoo.org/wiki/User:Dilfridge
signature.asc (application/pgp-signature, 870 B)
-----BEGIN PGP SIGNATURE-----

iQJPBAABCAA5FiEE/Rnm0xsZLuTcY+rT3CsWIV7VQSoFAmpMUnUbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyAAoJENwrFiFe1UEqrPsP/A6ePGwfORM5Ch0iGfWl
2RtRtME/6BHX+K+JorN5ka5uB8NnJKOUNP0/y6K5jrczUT/RizrWWvG7FiLQraSE
07ABrhXxlf/hZ12gVdY9wavoQwvj2I0zx1eTXQ+BYt9gPpBLEeqNCRZOc5x2eV6D
hsZMR1DCGQr5gD5+03+xy1g5AkzcqxF9+/+lqZO4Tbsv2MGI1DDo4GOULTArDb3p
h49uiMrvIXVmOVhjpnXECRMf8FRlLVe1C/LfWJ+q8rJgxDcDqYzEJt4Gdp3e4X84
KaAa82dRrSeCTG1FNgj05NQVOVi3KxtaEnfPCkvE7DCxGq78L4buyFtDqarH7Qnp
jXw9xpNKMF8+paMqJsRL2IvQUSm39BBZmINzyVqVN97n/UKf0olmqafubXeFYoic
RF8ur//wxG7EI4YKRgm6CUvQZfa/ukBd/3xjqEkr6igO/nasix+nWajCViilYaTG
AZioHTB/QXsc1sKhYXiMDXMIqp+ZyN+Fq6nBr82dQazlln5FSckE5Ej0IUx1EA1R
Ooxt0eCxBm20UhmTfNTD7z0QQj/qOh9zoJ1okve9Of/tnrl6i9LxSinX9CdZqHcd
VwFV+Lbe7UTxOBwxqIW4F7piKlO7cXm0kA/L/coOnAKI61D7xrtV7jvg7DWDeulL
w9mIJ0Wcee+Cvaxs+YpLNsyN
=7Wav
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.