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

Adhemerval Zanella <[email protected]>
Newsgroups gmane.comp.lib.glibc.alpha
Message-ID <[email protected]>
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
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.