Commit Graph

154 Commits

Author SHA1 Message Date
Florian Weimer
ff10577abe Switch to upstream approach for building xtest during make check (RHEL-59494)
Upstream unconditionally builds xtests during make check after
the backported commit, so the spec file change is no longer necessary.

Resolves: RHEL-59494
2024-09-24 16:27:59 +02:00
Florian Weimer
ecd5a531a3 Ensure that xtests can be built (RHEL-59494)
Running the tests isn't ideal, but the makefiles currently do not
support building xtests without running them.

Resolves: RHEL-59494
2024-09-19 17:39:02 +02:00
DJ Delorie
3d4f500e5c elf: Rework exception handling in the dynamic loader (RHEL-46979)
Resolves: RHEL-46979

Note glibc-RHEL-46979-3.patch contains backport-related
ABI protection and is not an upstream commit.
2024-09-09 15:27:04 -04:00
Siddhesh Poyarekar
8e284fa1e8 Fix ungetc leak and invalid read (RHEL-54447)
Resolves: RHEL-54447
2024-09-05 06:26:05 -04:00
Patsy Griffin
07b20a236a - s390x: Fix segfault in wcsncmp
- Enhanced test coverage for strncmp, wcsncmp

Resolves: RHEL-49489
2024-09-03 17:36:50 -04:00
Patsy Griffin
666f2b55d3 - elf: Clarify and invert second argument of _dl_allocate_tls_init
- elf: Avoid re-initializing already allocated TLS in dlopen

Resolves: RHEL-36148
2024-08-28 15:23:03 -04:00
Florian Weimer
7a74d3400a Document dprintf, vdprintf in the manual (RHEL-46723)
Resolves: RHEL-46723
2024-08-15 11:11:24 +02:00
Frédéric Bérat
479ad685f5 getdelim: ensure error indicator is set on error (RHEL-54007)
Resolves: RHEL-54007
2024-08-13 15:22:17 +02:00
Arjun Shankar
0d2a788a88 Add new tests for aligned_alloc (RHEL-50101)
Resolves: RHEL-50101
2024-08-06 17:21:29 +02:00
Arjun Shankar
0ecf9bed9b manual: Improve documentation of putc, putwc, getc, and getwc (RHEL-46741)
Resolves: RHEL-46741
2024-08-06 14:00:31 +02:00
DJ Delorie
21ce8318ac manual: add syscalls (RHEL-25257)
Resolves: RHEL-25257
2024-07-22 15:13:48 -04:00
DJ Delorie
29cbc66e08 Update mmap() flags and errors lists (RHEL-30823)
Resolves: RHEL-30823
2024-07-12 13:29:15 -04:00
Patsy Griffin
45033701c6 elf: Avoid some free (NULL) calls in _dl_update_slotinfo
elf: Support recursive use of dynamic TLS in interposed malloc

Resolves: RHEL-39992
2024-07-11 16:01:24 -04:00
Patsy Griffin
c24969da03 Update syscall list for Linux 6.9.
Resolves: RHEL-39000
2024-07-03 18:29:08 -04:00
Patsy Griffin
d3837bb611 CVE-2024-33601, CVE-2024-33602: nscd: netgroup: Use two buffers in addgetnetgrentX
Resolves: RHEL-34272
Resolves: RHEL-34274
2024-06-13 22:25:57 -04:00
Patsy Griffin
ec53b9158c CVE-2024-33600: nscd: Do not send missing not-found response in addgetnetgrentX.
Resolves: RHEL-34268
2024-06-11 23:25:01 -04:00
Patsy Griffin
221f7bce5b CVE-2024-33599: nscd: buffer overflow in netgroup cache (RHEL-34265)
Resolves: RHEL-34265
2024-06-10 13:51:02 -04:00
Arjun Shankar
001abaad14 Add new test for malloc mmap fall-back path upon sbrk failure (RHEL-25063)
Resolves: RHEL-25063
2024-06-10 14:10:09 +02:00
Arjun Shankar
1fb374e8dc Correct changelog entry
Related: RHEL-31805
2024-06-10 14:07:04 +02:00
Patsy Griffin
c9855bf213 CVE-2024-2961: Out of bounds write in iconv conversion to ISO-2022-CN-EXT (RHEL-31805)
Resolves: RHEL-31805
2024-06-06 21:34:16 -04:00
Patsy Griffin
2ea0ac63f1 Enhance ld.so --list-diagnostics on aarch64
Resolves: RHEL-22165
2024-06-06 14:24:58 -04:00
DJ Delorie
6640587883 Add MMAP_ABOVE4G from Linux 6.6 to sys/mman.h
Resolves: RHEL-39006
2024-05-29 15:47:04 -04:00
Patsy Griffin
ed2fe1a5b0 Improve test coverage for connect()
Resolves: RHEL-32681
2024-05-20 17:35:34 -04:00
DJ Delorie
ada12691fb x86-64: Save APX registers in ld.so trampoline
Resolves: RHEL-25046
2024-04-03 23:25:59 -04:00
DJ Delorie
6dbf26d6f4 x86: Fix Zen3/Zen4 ERMS selection
Resolves: RHEL-25531
2024-04-02 22:40:56 -04:00
Arjun Shankar
5a35e9b70f malloc: Do not use MAP_NORESERVE to allocate heap segments (RHEL-21884)
Resolves: RHEL-21884
2024-03-12 17:10:19 +01:00
DJ Delorie
b11febd624 x86-64: Add glibc.cpu.prefer_map_32bit_exec
Resolves: RHEL-20172

Note: there are follow up patches which fix Hurd wrt this change,
but those lead to a rabbit hole of other required fixes that
become more and more invasive... One relevant change was to move
the tests specific to this change, but there has been no further
work upstream on those tests, so leaving that out should not
affect future merges.
2024-03-11 18:22:11 -04:00
Patsy Griffin
549c5753ae Switch back to assembly syscall wrapper for prctl (RHEL-23472)
Resolves: RHEL-23472
2024-02-29 09:15:16 -05:00
Patsy Griffin
f58c52d099 manual: fix order of arguments of memalign and aligned_alloc
Resolves: RHEL-21556
2024-01-26 10:50:27 -05:00
Arjun Shankar
da346ff8a8 getaddrinfo: Return correct error EAI_MEMORY when out-of-memory (RHEL-19444)
Resolves: RHEL-19444
2024-01-09 19:51:08 +01:00
Arjun Shankar
b02eb10bf8 getaddrinfo: Fix occasionally empty result due to nscd cache order (RHEL-16643)
Resolves: RHEL-16643
2024-01-08 14:49:32 +01:00
Florian Weimer
178dfa8115 Re-enable output buffering for wide stdio streams (RHEL-19862)
Resolves: RHEL-19862
2024-01-02 15:18:37 +01:00
Carlos O'Donell
806a394144 Fix TLS corruption during dlopen()/dlclose() sequences (RHEL-17465)
Resolves: RHEL-17465
2023-12-21 15:44:01 -05:00
Florian Weimer
46256b791c Improve compatibility between underlinking and IFUNC resolvers (RHEL-17319)
Resolves: RHEL-17319
2023-12-08 20:18:58 +01:00
Patsy Griffin
233e710888 Update syscall-names.list for Linux 6.6. (RHEL-16016)
Resolves: RHEL-16016
2023-12-08 10:32:16 -05:00
Patsy Griffin
06ca45bab0 malloc: Use __get_nprocs on arena_get2. (RHEL-17157)
Resolves: RHEL-17157
2023-12-06 20:51:59 -05:00
Patsy Griffin
654c9b6d78 Improve test coverage for wcsdup, strdup and strndup.
Resolves: RHEL-15343
2023-12-05 00:31:25 -05:00
Florian Weimer
bca78af34a fstat performance enhancement (RHEL-2338)
Resolves: RHEL-2338
2023-11-24 19:33:45 +01:00
Florian Weimer
26fb3f4504 ldconfig should skip temporary files created by RPM (RHEL-14383)
Resolves: RHEL-14383
2023-11-21 09:45:13 +01:00
Florian Weimer
8b8ca63bf3 Fix force-first handling in dlclose (RHEL-2491)
Resolves: RHEL-2491
2023-11-20 13:12:49 +01:00
Arjun Shankar
5c845205d3 nscd: Refer to /run, not /var/run in systemd socket file (RHEL-16275)
Resolves: RHEL-16275
2023-11-15 16:12:08 +01:00
Florian Weimer
2ea2e4b802 Fix slow tls access after dlopen (RHEL-2123)
Resolves: RHEL-2123
2023-11-10 10:14:03 +01:00
Arjun Shankar
07b897537d Add /usr/share/doc/glibc/gai.conf to glibc-doc (RHEL-14545)
Resolves: RHEL-14545
2023-10-24 17:23:55 +02:00
Florian Weimer
bab2bafb13 nscd: Skip unusable entries in first pass in prune_cache (RHEL-3397)
Resolves: RHEL-3397
2023-10-20 10:43:51 +02:00
Florian Weimer
01cc656c63 x86-64: Report non-zero cache sizes under TDX hypervisors (RHEL-1191)
Resolves: RHEL-1191
2023-10-09 16:03:20 +02:00
Florian Weimer
df2a403efa Fix memory leak regression in getaddrinfo (RHEL-2426)
Related: RHEL-2426
2023-09-25 07:54:46 +01:00
Carlos O'Donell
d9eb6f4246 CVE-2023-4911 glibc: buffer overflow in ld.so leading to privilege escalation (RHEL-3000)
Resolves: RHEL-3000
Reviewed-by: Siddhesh Poyarekar <siddhesh@redhat.com>
2023-09-19 22:37:14 -04:00
Florian Weimer
3f7d8c721a Revert: Always call destructors in reverse constructor order (RHEL-2491)
Reason for revert: Needs additional upstream fixes per swbz#30869
and Fedora bug 2239304.

Related: RHEL-2491
2023-09-19 16:13:30 +02:00
Siddhesh Poyarekar
8549c41db6 CVE-2023-4806 glibc: potential use-after-free in getaddrinfo
Resolves: RHEL-2426
2023-09-16 09:01:34 -04:00
Siddhesh Poyarekar
a10da9c455 CVE-2023-4813: potential use-after-free in gaih_inet
Resolves: RHEL-2438
2023-09-15 15:11:13 -04:00