Commit Graph

90 Commits

Author SHA1 Message Date
Florian Weimer
35c3be35b4 Use /sbin/ldconfig path for lorax compatibility (RHEL-63048)
Related: RHEL-63048
2024-11-13 16:54:09 +01:00
Patsy Griffin
e6e4f6cc86 aarch64: Add support for MTE to strncmp.
Resolves: RHEL-61255
2024-11-11 17:10:13 -05:00
Florian Weimer
9c5dbe51be Use UsrMove path destination in the RPM files (RHEL-63048)
This commit updates most occurrences of /%{_lib} to %{_libdir}.
The glibc build process is not changed, instead the symbolic links
are created right before installing the files, to redirect them
to their final locations.  The symbolic links are removed again
so that they do not end up in the shipped packages.

Resolves: RHEL-63048
2024-10-28 13:27:56 +01:00
Florian Weimer
bd128a5369 Rework filelist construction
Eliminate most pattern matching and list files explicitly.  Three
common exceptions are modeled explicitly: libmvec (additional shared
object and static library), libnldbl (additional shared object),
and installation of ld.so under a /lib path on 64-bit architectures.

To implement glibc-headers and glibc-gconv-extra, pattern
matching is still used, but with helper shell functions that
allow splitting the matching and non-matching files into
separate list files.

The remaining differences are bug fixes for directory ownership.

/usr/libexec/glibc-benchtests is now owned by glibc-benchtests.
/lib64/glibc-hwcaps is now owned by glibc.ppc64le.

Differences can be checked with this script:

mkdir -p filelist
for x in "$@" ; do
    target="$(rpm -qp --qf 'filelist/%{name}.%{arch}.txt' "$x")"
    rpm -qp --qf '[%{filenames} %{filemodes:perms} (%{fileflags:fflags})(%{fileverifyflags:hex}) \{%{filecaps}\} %{fileusername} %{filegroupname}\n]' "$x" > "$target"
done

Note: Delete the *.src.rpm files because %{arch} has unexpected
results for them.

Related: RHEL-63048
2024-10-28 13:27:51 +01:00
Florian Weimer
5111f98bd4 Remove the obsolete auxarches, biarcharches, debuginfocommonarches variable
The auxarches no longer exist, and the other variables are unused.

Related: RHEL-63048
2024-10-24 09:07:44 +02:00
Patsy Griffin
b0aa142580 s390x: Fix segfault in wcsncmp
Enhanced test coverage for strncmp, wcsncmp

Resolves: RHEL-49490
2024-09-18 11:14:16 -04:00
Patsy Griffin
a293b2234e elf: Clarify and invert second argument of _dl_allocate_tls_init
elf: Avoid re-initializing already allocated TLS in dlopen

Resolves: RHEL-36147
2024-08-16 14:18:36 -04:00
Patsy Griffin
22cd4dad0c elf: Avoid some free (NULL) calls in _dl_update_slotinfo
elf: Support recursive use of dynamic TLS in interposed malloc

Resolves: RHEL-39994
2024-08-09 12:01:42 -04:00
Patsy Griffin
6ee17d0f79 Update i386 libm-test-ulps (RHEL-52428)
Resolves: RHEL-52428
2024-08-08 17:02:27 -04:00
Florian Weimer
d4ed907764 CVE-2024-33599, CVE-2024-33600, CVE-2024-33601, CVE-2024-33602: nscd fixes
Resolves: RHEL-34264
Resolves: RHEL-34267
Resolves: RHEL-34271
Resolves: RHEL-34273
2024-04-26 11:07:30 +02:00
Florian Weimer
4455ee54de CVE-2024-2961: Out of bounds write in iconv conversion to ISO-2022-CN-EXT (RHEL-31804)
Resolves: RHEL-31804
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2024-04-16 07:39:53 +02:00
Florian Weimer
d304f5706a Cache information in x86_64 ld.so --list-diagnostics output (RHEL-21997)
Resolves: RHEL-21997
2024-01-19 13:29:56 +01:00
Arjun Shankar
d1cf4608a0 getaddrinfo: Return correct error EAI_MEMORY when out-of-memory (RHEL-19445)
Resolves: RHEL-19445
2024-01-10 15:30:44 +01:00
Florian Weimer
c3ca668da6 Updates for AMD cache size computation (RHEL-3010)
Resolves: RHEL-3010
2024-01-04 11:52:50 +01:00
Florian Weimer
95743a650a Re-enable output buffering for wide stdio streams (RHEL-19824)
Resolves: RHEL-19824
2024-01-02 15:15:37 +01:00
Carlos O'Donell
2a2d048539 Fix TLS corruption during dlopen()/dlclose() sequences (RHEL-17468)
Resolves: RHEL-17468
2023-12-21 15:40:35 -05:00
DJ Delorie
02cfe04e36 Import Intel hyperscale improvements (RHEL-15696)
Resolves: RHEL-15696

Includes two additional (well, 1.5) upstream patches
to resolve roundeven redirects.
2023-12-15 17:33:06 -05:00
Florian Weimer
b76a8ebe01 Improve compatibility between underlinking and IFUNC resolvers (RHEL-16825)
Resolves: RHEL-16825
2023-12-08 15:12:35 +01:00
Florian Weimer
8bd47ef1b2 Restore <sys/cdefs.h> compatibility with C90 compilers (RHEL-15867)
Resolves: RHEL-15867
2023-11-24 14:45:50 +01:00
Florian Weimer
8db9f8aab0 ldconfig should skip temporary files created by RPM (RHEL-13720)
Resolves: RHEL-13720
2023-11-21 09:41:35 +01:00
Florian Weimer
159c3a720f Fix force-first handling in dlclose (RHEL-10481)
Resolves: RHEL-10481
2023-11-20 12:50:16 +01:00
Florian Weimer
cc28cc2e2a Avoid lazy binding failures during dlclose (RHEL-3639)
Resolves: RHEL-3639
2023-11-10 13:05:48 +01:00
Arjun Shankar
98f96587ed Add /usr/share/doc/glibc/gai.conf to glibc-doc (RHEL-12894)
Resolves: RHEL-12894
2023-10-24 16:52:26 +02:00
Florian Weimer
1ff30367b7 nscd: Skip unusable entries in first pass in prune_cache (RHEL-1192)
Resolves: RHEL-1192
2023-10-20 09:05:32 +02:00
DJ Delorie
8514cc782e Fix slow tls access after dlopen
Resolves: RHEL-2122
2023-10-16 13:34:49 -04:00
Arjun Shankar
94a6631565 Enable running a single test from the testsuite (RHEL-3757)
Resolves: RHEL-3757
2023-10-16 12:58:31 +02:00
Siddhesh Poyarekar
113ab44550 CVE-2023-4911 glibc: buffer overflow in ld.so leading to privilege escalation
Resolves: RHEL-3036
2023-09-19 20:39:36 -04:00
Carlos O'Donell
114cf7bf60 Revert: Always call destructors in reverse constructor order (#2233338)
Related: #2233338
2023-09-19 17:22:58 -04:00
Siddhesh Poyarekar
1c55a2977c CVE-2023-4806 glibc: potential use-after-free in getaddrinfo
Resolves: RHEL-2423
2023-09-19 13:52:14 -04:00
Siddhesh Poyarekar
7dead2d634 CVE-2023-4813: Work around RHEL-8 limitation in test
Resolves: RHEL-2435
2023-09-19 09:52:00 -04:00
Siddhesh Poyarekar
c47da829fe CVE-2023-4813: potential use-after-free in gaih_inet
Resolves: RHEL-2435
2023-09-15 13:16:29 -04:00
Florian Weimer
a491b3f5d0 CVE-2023-4527: Stack read overflow in getaddrinfo in no-aaaa mode (#2234714)
Resolves: #2234714
2023-09-14 07:05:33 +02:00
Florian Weimer
53877e8f4e Always call destructors in reverse constructor order (#2233338)
Resolves: #2233338
2023-09-11 10:54:17 +02:00
Carlos O'Donell
653ef302d2 Fix string and memory function tuning on small systems (#2180462)
Related: #2180462
2023-08-15 12:07:04 -04:00
DJ Delorie
f089a914cf Fix temporal threshold calculations (#2180462)
Resolves: #2180462
2023-08-08 16:22:45 -04:00
Florian Weimer
1afa752bd9 Ignore symbolic link change on /etc/nsswitch.conf (#2229709)
Resolves: #2229709
2023-08-07 14:19:10 +02:00
DJ Delorie
d5f9b5715a Update test to closer match upstream. (#2176707)
Resolves: #2176707
2023-07-26 01:17:09 -04:00
Florian Weimer
6a1334bb9d Make libSegFault.so NODELETE (#2224348)
Resolves: #2224348
2023-07-21 16:48:28 +02:00
Carlos O'Donell
a7237924af Update ESTALE error message translations (#2186781)
Resolves: #2186781
2023-07-09 13:33:08 -04:00
DJ Delorie
54aeb61503 Don't block SIGCHILD when system() is called concurrently
Resolves: #2176707

Note: Upstream patch used nanosleep() to support fractional seconds
in the "shell" sleep command.  This would have required a long
dependency chain of time_t related changes to be brought in.  Instead,
I modified the test to use integer sleep values and integer sleep().
I confirmed that the modified test still detected the bug without
the patch, and passes with it.

Future tests that use the test-container sleep shell command, and
require fractional sleep periods, will either need to be modified
similarly or deal with the nanosleep patch set.
2023-07-07 18:44:30 -04:00
DJ Delorie
a9c42b37f5 resolv_conf: release lock on allocation failure (#2213909)
Resolves: #2213909
2023-07-03 19:07:30 -04:00
Florian Weimer
e29aaea52c gmon: Various bug fixes (#2180155)
Resolves: #2180155
2023-05-22 15:22:04 +02:00
Patsy Griffin
3d2d551003 Change sgetsgent_r to set errno.
Resolves: #2172949
2023-05-19 11:51:29 -04:00
Florian Weimer
1ad31173fb Fix incorrect inline feraiseexcept on i686, x86-64 (#2183081)
Resolves: #2183081
2023-05-03 10:58:05 +02:00
Troy Dawson
9665cf5a69 Bring gating.yaml over from Brew dist-git
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-03-10 10:39:40 -08:00
James Antill
94c192c806 Import rpm: c8s 2023-02-27 13:16:43 -05:00
CentOS Sources
28158fe07b Auto sync2gitlab import of glibc-2.28-225.el8.src.rpm 2023-02-04 08:10:02 +00:00
CentOS Sources
fc827a5fe3 Auto sync2gitlab import of glibc-2.28-224.el8.src.rpm 2022-12-10 08:11:34 +00:00
CentOS Sources
3268506ae1 Auto sync2gitlab import of glibc-2.28-223.el8.src.rpm 2022-12-01 06:10:25 +00:00
CentOS Sources
9e62d7cad4 Auto sync2gitlab import of glibc-2.28-221.el8.src.rpm 2022-11-26 10:10:48 +00:00