Commit Graph

322 Commits

Author SHA1 Message Date
DJ Delorie
06d55fdb46 Remove unneeded ld-linux .debug files (RHEL-27851)
Resolves: RHEL-27851
2025-12-16 13:45:36 -05:00
Patsy Griffin
fe0a9b0cab string: Add tests for unique strerror and strsignal strings (RHEL-109758)
Resolves: RHEL-109758
2025-12-11 22:11:58 -05:00
Florian Weimer
78fb5257b7 patch-git: Do not require directory names in Lua patches table
RPM 6.0.0 does not put the source directory prefix there anymore.

Resolves: RHEL-134109
RPM-Changelog: -
RPM-Skip-Release: yes
2025-12-06 12:54:45 +01:00
Patsy Griffin
d629485632 Move ANSI_X3.110-1983 support from main package to glibc-gconv-extra.
Include iconvdata: fix invalid pointer arithmetic in ANSI_X3.110 module. (RHEL-41205)

Resolves: RHEL-41205
2025-12-02 17:37:11 -05:00
Frédéric Bérat
58ede25118 x86-64: Add GLIBC_ABI_DT_X86_64_PLT version to enable DT_X86_64_PLT compatibility. (RHEL-109622)
Resolves: RHEL-109622
2025-11-17 16:08:01 +01:00
Florian Weimer
9f54110774 patch-git: Support git worktree
After “git worktree”, .git is a text file, not a directory.

Resolves: RHEL-127594
2025-11-17 10:55:37 +01:00
DJ Delorie
95249e2082 rpminspect.yaml: note that glibc-minimal-langpack is empty
This fixes the "continues to be empty" VERIFY from rpminspect.

Support for this was added by:
https://github.com/rpminspect/rpminspect/issues/1518

Resolves: RHEL-118846
2025-11-13 09:53:30 +01:00
Florian Weimer
1335d209f3 patch-git: Add auto-generated/ prefix to Source: files
This suppresses a centpkg pre-push-check failure.

Resolves: RHEL-126051
2025-11-11 20:04:43 +01:00
DJ Delorie
420da6862a Minor documentation improvements (RHEL-95259)
Resolves: RHEL-95259
2025-11-03 22:56:29 -05:00
Frédéric Bérat
b69345d750 Document open_memstream implementation-defined SEEK_END behavior (RHEL-61087)
Resolves: RHEL-61087
2025-10-28 15:56:46 +01:00
Frédéric Bérat
7caf5b3af4 Add new socket shutdown test (RHEL-50453)
Resolves: RHEL-50453
2025-10-16 15:13:02 +02:00
Florian Weimer
b4d304b208 Handle FUSE_GETXATTR during FUSE FS mount in tests (RHEL-121433)
Resolves: RHEL-121433
2025-10-15 12:14:54 +02:00
Patsy Griffin
49e17cb056 nss: Fix incorrect/empty results when merging groups (RHEL-112149)
Resolves: RHEL-112149
2025-10-13 15:35:20 -04:00
Arjun Shankar
5a90f7a991 patch-git: Import from c10s and turn on (RHEL-117185)
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
2025-10-09 15:25:37 +02:00
Arjun Shankar
e8cd46bcf1 test-bz22786: Mark UNSUPPORTED on low memory systems (RHEL-91400)
Resolves: RHEL-91400
2025-10-07 16:03:42 +02:00
Patsy Griffin
45ccc173fc glibc-locale-source: Require gzip to handle compressed charmaps (RHEL-111005)
Resolves: RHEL-111005
2025-10-02 14:08:31 -04:00
Rachel Sibley
6939735826 Update the revdep ci file to include binutils (RHEL-112820)
Resolves: RHEL-112820
2025-09-03 19:13:48 -04:00
Arjun Shankar
1d21eb187f libio: Upon asprintf failure set the string pointer to NULL (RHEL-72245)
Resolves: RHEL-72245
2025-09-02 12:25:19 +02:00
Rachel Sibley
faa64d329c Update the revdep ci file (RHEL-111538)
Resolves: RHEL-111538
2025-08-28 11:15:42 -04:00
Arjun Shankar
fc8b8ed923 Define __libc_tsd_CTYPE_* thread variables as TLS initial-exec (RHEL-107518)
Related: RHEL-72017
Resolves: RHEL-107518
2025-08-19 17:55:03 +02:00
Arjun Shankar
dc52472777 elf: Remove a duplicate test related Makefile target (RHEL-108220)
Resolves: RHEL-108220
2025-08-19 15:19:05 +02:00
Arjun Shankar
e54a9f817e inet: Fix namespace pollution in fortification header (RHEL-106206)
Resolves: RHEL-106206
2025-08-19 11:50:53 +02:00
Florian Weimer
433a7d6f10 Handle load segment gaps in _dl_find_object (RHEL-104852)
Resolves: RHEL-104852
2025-08-11 14:04:43 +02:00
Florian Weimer
598d4ec8e6 Disable failing subtest of elf/tst-dl_find_object-static (RHEL-108221)
Resolves: RHEL-108221
2025-08-11 13:21:08 +02:00
Florian Weimer
ad8f8253fd Prevent inlining of _dl_debug_state (RHEL-105965)
Resolves: RHEL-105965
2025-08-07 13:55:00 +02:00
Florian Weimer
6a840ebd26 Add definition of _dl_find_object to libc.a (RHEL-107564)
Resolves: RHEL-107564
2025-08-05 18:02:21 +02:00
Frédéric Bérat
fd0f4ef219 Add support for new IBM Z17 hardware capabilities
- 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
2025-08-05 10:23:18 +02:00
Frédéric Bérat
85eb6772ad test: Add ld.so ABI layout verification
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
2025-07-31 16:28:34 +02:00
Florian Weimer
6b217b8105 Build glibc32 from the main glibc package (RHEL-106470)
Resolves: RHEL-106470
2025-07-30 08:44:41 +02:00
Florian Weimer
c429981bd5 Add missing word to %changelog entry
Related: RHEL-106166
2025-07-29 22:35:14 +02:00
Florian Weimer
fa3ab05721 Use Requires(pre): libgcc%{_isa} to libgcc cycle (RHEL-106166)
Resolves: RHEL-106166
2025-07-29 16:22:15 +02:00
Frédéric Bérat
f9e37fbb1e Adapt RHEL-80538 fix to _dl_find_object backport
Resolves: RHEL-105957
2025-07-28 17:25:07 +02:00
Frédéric Bérat
fd535a578c The dynamic linker no longer crashed when processing specific symbol versions.
- Backport: elf: Fix handling of symbol versions which hash to zero
  (bug 29190)

Resolves: RHEL-74251
2025-07-25 16:49:09 +02:00
Frédéric Bérat
78fabd3cab CVE-2025-8058: Double free in regcomp
- Backport: posix: Fix double-free after allocation failure in regcomp
  (bug 33185)

Resolves: RHEL-105327
2025-07-25 12:38:00 +02:00
Florian Weimer
3ac034a90b iconv: Do not create executable output files (RHEL-103952) 2025-07-23 09:09:13 +02:00
Benjamin Herrenschmidt
bec6dd40c6 Backport GLIBC_2.35 libc symbols incl. _dl_find_object (RHEL-93320)
Resolves: RHEL-93320
2025-07-21 21:33:09 +10:00
Arjun Shankar
60b7e5744e Extend struct r_debug to support multiple namespaces (RHEL-101986)
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
2025-07-10 18:00:46 +02:00
Arjun Shankar
97ea51322d Signal la_objopen for ld.so with dlmopen (RHEL-49549)
Resolves: RHEL-49549
2025-07-09 22:50:50 +02:00
Arjun Shankar
7c82c40390 Reduce spurious rebuilds while running tests (RHEL-95247)
Resolves: RHEL-95247
2025-07-09 09:58:56 +02:00
Frédéric Bérat
72524e00c3 Prevented ld.so from asserting and crashing during audited library loads.
- 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
2025-07-08 17:06:56 +02:00
Rachel Sibley
b8e117b06d Remove shim and libndp from revdep.yaml 2025-07-08 12:12:45 +00:00
Arjun Shankar
4b07ecdf12 Rebase qsort implementation from 2.39 upstream (RHEL-24168)
Resolves: RHEL-24168
2025-07-08 09:37:40 +00:00
Florian Weimer
0e04d2e772 Add rpminspect.yaml with expected failures (RHEL-86591)
Co-Authored-By: Dodji Seketeli <dodji@redhat.com>
Resolves: RHEL-86591
2025-07-07 12:07:48 +02:00
Arjun Shankar
fe7fa81da1 Add new tests for clock_nanosleep (RHEL-62188)
Resolves: RHEL-62188
2025-07-01 18:36:01 +02:00
Arjun Shankar
dbdfa82884 Add new test for if_nameindex and if_indextoname (RHEL-53909)
Resolves: RHEL-53909
2025-07-01 18:33:19 +02:00
Florian Weimer
c00c38ca9c Fix typo in revdep.yaml (RHEL-96772)
Related: RHEL-96772
2025-06-28 11:27:37 +02:00
Florian Weimer
c3b6dd165b Update reverse dependency testing config (RHEL-96772)
Resolves: RHEL-96772
2025-06-27 08:43:28 +02:00
Frédéric Bérat
7a4b319108 Switch to main malloc after final ld.so self-relocation
- 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
2025-06-26 17:05:57 +02:00
Frédéric Bérat
9d355805b4 CVE-2025-5702 glibc: Vector register overwrite bug in glibc
Revert glibc-RHEL-24740-3.patch, glibc-RHEL-24740-2.patch,
glibc-RHEL-24740-1.patch in that order.

Resolves: RHEL-95546
2025-06-25 10:55:55 +02:00
Florian Weimer
dda5cdbb01 langpacks: Use symlinks for LC_NAME, LC_NUMERIC files if possible (RHEL-97434)
Resolves: RHEL-97434
2025-06-18 10:14:10 +02:00