Commit Graph

133 Commits

Author SHA1 Message Date
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
Carlos O'Donell
2b2770be11 CVE-2023-4527: Stack read overflow in getaddrinfo in no-aaaa mode (#2234716)
Resolves: #2234716
2023-09-15 08:11:03 -04:00
Carlos O'Donell
d79354ed95 Always call destructors in reverse constructor order (RHEL-2491)
Resolves: RHEL-2491
2023-09-14 16:58:19 -04:00
DJ Delorie
8099ec746a Add support for ppc64le hwcaps tunables
Resolves: RHEL-1017
2023-09-13 16:33:45 -04:00
Carlos O'Donell
c7fe751949 Fix string and memory function tuning on small systems (#2213907)
Related: #2213907
2023-08-15 12:07:37 -04:00
Florian Weimer
5d55f30bfc Fix additional GCC 13 build issue (#2222188)
Resolves: #2222188
2023-08-14 08:50:57 +02:00
Florian Weimer
3a04eb2e18 Fix AMD cache size computation for hypervisors, old CPUs (#2166710)
Missing spec file update.

Related: #2166710
2023-08-11 17:54:52 +02:00
DJ Delorie
8c4d8a0e5b Fix temporal threshold calculations (#2213907)
Resolves: #221390
2023-08-08 21:25:08 -04:00
Florian Weimer
4a20a2b4f5 Ignore symbolic link change on /etc/nsswitch.conf (#2229156)
Resolves: #2229156
2023-08-04 15:52:59 +02:00
Florian Weimer
a02be7c868 Fix regression with IPv4 mapped addresses in /etc/hosts (#2224504)
Resolves: #2224504
2023-07-28 15:40:24 +02:00
Florian Weimer
08f3180f47 Fix accidentally disabled rseq test (#2224289)
Related: #2224289
2023-07-25 14:38:09 +02:00
Florian Weimer
a422f55007 Make libSegFault.so NODELETE (#2224349)
Resolves: #2224349
2023-07-21 20:56:01 +02:00
Florian Weimer
86889b9545 rseq_area should always be 32 bytes large (#2224289)
Resolves: #2224289
2023-07-21 16:30:40 +02:00
Florian Weimer
370cf824b2 GCC Toolset 13 C++ compatibility for <math.h> iseqsig (#2222188)
Resolves: #2222188
2023-07-20 14:34:40 +02:00
Carlos O'Donell
7aac3aeef3 Update ESTALE error message translations (RHEL-729)
Resolves: RHEL-729
2023-07-07 13:09:04 -04:00
Carlos O'Donell
5d0bb717b5 Avoid lazy binding failures during dlclose (#2189923)
Resolves: #2189923
2023-07-07 11:02:37 -04:00
Arjun Shankar
f9ff3ef63b resolv_conf: release lock on allocation failure (#2213908)
Resolves: #2213908
2023-06-26 16:53:50 +02:00
Arjun Shankar
b5345eb1b6 strerror must not return NULL (#2215368)
Resolves: #2215368
2023-06-26 16:39:05 +02:00
DJ Delorie
7afefa800d Switch to sysusers_ctl instead of useradd
Resolves: #2095417
2023-05-10 21:01:00 -04:00
Florian Weimer
17e18d1a08 Sync with upstream branch release/2.34/master
Upstream commit: 0ea8174d62263c2679c95c0d215d2627e560f7aa

- gmon: fix memory corruption issues [BZ# 30101]
- gmon: improve mcount overflow handling [BZ# 27576]
- gmon: Fix allocated buffer overflow (bug 29444)
- posix: Fix system blocks SIGCHLD erroneously [BZ #30163]
- x86_64: Fix asm constraints in feraiseexcept (bug 30305)
- gshadow: Matching sgetsgent, sgetsgent_r ERANGE handling (bug 30151)
- x86: Check minimum/maximum of non_temporal_threshold [BZ #29953]

Resolves: #2188641
Resolves: #2172947
Resolves: #2177235
Resolves: #2177705
Resolves: #2180173
2023-04-28 20:03:19 +02:00
Florian Weimer
2511b1027f Use a more conventional name for glibc-upstream-2.34-390.patch
Related: #2166710
2023-04-28 19:32:27 +02:00
Patsy Griffin
3a63de6f60 x86: Cache computation for AMD architecture. (#2166710)
Resolves: #2166710
2023-04-21 09:41:04 -04:00