Sync patch-git.lua, CONTRIBUTING.md, .gitignore with
commit e95aa14bd2 from c10s.
Update glibc.spec to auto-generate version, release patch list,
and changelog.
Some patches up to Patch409 (glibc-rh2129005.patch) require an ordering
that patch-git does not support. Therefore they are left in. Patches
410 onwards follow the intra-commit lexicographic order that patch-git
uses and can therefore be auto-generated by patch-git tooling.
Resolves: RHEL-117185
Parent: e8cd46bcf1
Patch-Git-Version: 1
RPM-Version: 2.34
RPM-Release: 235%{?dist}
RPM-Changelog-Stop: yes
- Backport: S390: Add new s390 platform z17.
- Add downstream patch for legacy hwcap/platform mechanism
- Acknowledge `struct cpu_features` layout change: the size of the
structure didn't change, members where renamed.
Resolves: RHEL-50086
Introduce `verify-ldso-abi.sh` script and architecture-specific baseline
files to the build.
This new verification step is integrated into the `%check` phase of the
glibc build process. It uses `gdb` to dump the internal ABI layout of
critical dynamic linker data structures (`_rtld_global_ro`,
`_rtld_global`, `struct link_map`, `struct pthread`) and compares them
against a predefined baseline.
This ensures that unintentional ABI breaks in `ld.so` are detected
early, maintaining stability for internal glibc components. The script
also supports generating new baselines when changes are intentional.
Resolves: RHEL-50086
Several patches related to this fix were applied in:
72524e00c3
"Prevented `ld.so` from asserting and crashing during audited library loads."
The remaining are applied in this commit.
Resolves: RHEL-101986
- Backport: Extend struct r_debug to support multiple namespaces [BZ
#15971]
- Backport: elf: Include <sysdep.h> in elf/dl-debug-symbols.S
- Backport: Minor: don't call _dl_debug_update (which can have side
effects) inside assert
- Backport: elf: Run constructors on cyclic recursive dlopen (bug
31986)
- Backport: elf: Signal LA_ACT_CONSISTENT to auditors after
RT_CONSISTENT switch
- Backport: elf: Signal RT_CONSISTENT after relocation processing in
dlopen (bug 31986)
- Backport: Revert "elf: Run constructors on cyclic recursive dlopen
(bug 31986)"
- Backport: elf: Test dlopen (NULL, RTLD_LAZY) from an ELF constructor
- Backport: elf: Fix map_complete Systemtap probe in dl_open_worker
- Backport: elf: Introduce separate _r_debug_array variable
- Add downstream patch to keep the ABI stable
Resolves: RHEL-47403
- Backport: elf: rtld_multiple_ref is always true
- Backport: elf: Do not define consider_profiling, consider_symbind as
macros
- Backport: elf: Introduce _dl_relocate_object_no_relro
- Backport: elf: Switch to main malloc after final ld.so
self-relocation
- Backport: elf: Second ld.so relocation only if libc.so has been
loaded
- Backport: elf: Minimize library dependencies of tst-nolink-libc.c
- Backport: elf: Add missing DSO dependencies for
tst-rtld-no-malloc-{audit,preload}
Resolves: RHEL-48820