Commit Graph

116 Commits

Author SHA1 Message Date
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
Florian Weimer
92ed05d911 Do not add = to linker scripts in sysroot (#2153855)
Resolves: #2153855
2023-04-14 16:09:24 +02:00
DJ Delorie
ab766cb47a x86: Use CHECK_FEATURE_PRESENT on PCONFIG (#2149615)
Additional upstream patch to fix a potential build-time
testsuite failure.

Resolves: #2149615
2023-04-07 00:02:21 -04:00
Arjun Shankar
85f2a33c60 s390x: Influence hwcaps/stfle via glibc.cpu.hwcaps tunable (#2169978)
Resolves: #2169978
2023-03-30 14:17:54 +02:00
DJ Delorie
7edee03215 x86: Don't check PREFETCHWT1 in tst-cpu-features-cpuinfo.c (#2149615)
Resolves: #2149615

Upstream commits:
61a4425dd412701f6c3545d8c1acd7e1a378ee8b
db9b47e9f996bbdb831580ff7343542a017c80ee
2023-03-29 19:16:45 -04:00
Carlos O'Donell
959e4c2842 Fix nested atexit calls from atexit handlers (#2172953)
Resolves: #2172953
2023-03-06 16:40:55 -05:00
Florian Weimer
a4d99f3f70 Upstream test for ldconfig -p (#2167811)
Related: #2167811
2023-02-08 19:48:12 +01:00
Florian Weimer
5eec3980b9 Fix ldconfig -p on i686 (#2167811)
Resolves: #2167811
2023-02-08 14:26:21 +01:00
Florian Weimer
3ccfcc3019 Enhance internal tunables ABI stability (awk iteration order) (#2162962)
Resolves: #2162962
2023-01-25 12:58:15 +01:00
Florian Weimer
ad85e10075 Sync with upstream branch release/2.34/master
Upstream commit: commit 6484ae5b8c4d4314f748e4d3c9a9baa5385e57c5

- malloc: Fix -Wuse-after-free warning in tst-mallocalign1 [BZ #26779]
- s_sincosf.h: Change pio4 type to float [BZ #28713]
- math: Properly cast X_TLOSS to float [BZ #28713]
- Regenerate ulps on x86_64 with GCC 12
- Avoid -Wuse-after-free in tests [BZ #26779].
- Fix build of nptl/tst-thread_local1.cc with GCC 12
- Fix stdio-common tests for GCC 12 -Waddress
- Fix stdlib/tst-setcontext.c for GCC 12 -Warray-compare
- resolv: Avoid GCC 12 false positive warning [BZ #28439].
- intl: Avoid -Wuse-after-free [BZ #26779]
- elf: Drop elf/tls-macros.h in favor of __thread and tls_model attributes [BZ #28152] [BZ #28205]
- time: Set daylight to 1 for matching DST/offset change (RHBZ#2155352)
- elf/tst-tlsopt-powerpc fails when compiled with -mcpu=power10 (BZ# 29776)
- time: Use 64 bit time on tzfile
- nscd: Use 64 bit time_t on libc nscd routines (BZ# 29402)
- nis: Build libnsl with 64 bit time_t
- Use LFS and 64 bit time for installed programs (BZ #15333)

Resolves: #2155352
Related: #2160734
2023-01-17 09:30:20 +01:00
Tulio Magno Quites Machado Filho
78832d4e7a Enable power10 multilib
* Mon Dec 12 2022 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 2.34-56
- Enable power10 multilib (#1870019)

Resolves: #1870019
2023-01-06 11:23:18 -03:00
Tulio Magno Quites Machado Filho
e8ace71c20 Move the removal of multilibs to %pre
* Mon Dec 12 2022 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 2.34-55
- Earlier removal of alternative multilibs (#2149994)

Resolves: #2149994
2023-01-06 11:23:18 -03:00
Florian Weimer
b02b60a0ea Install kernel header files into the sysroot subpackage
Related: #2149644
2022-12-12 18:03:54 +01:00
Arjun Shankar
1bc41d2121 Sync with upstream branch release/2.34/master
Upstream commit: a4217408a3d6050a7f42ac23adb6ac7218dca85f

- Apply asm redirections in syslog.h before first use [BZ #27087]
- _Static_assert needs two arguments for compatibility with GCC before 9

Resolves: #2142974
Related: #2149102
Related: #2142935 (actually fixed in fb3d49c3bf)
2022-12-07 15:15:59 +01:00
Florian Weimer
fb3d49c3bf Import Import glibc-2.34-52.fc35 from f35
* Wed Nov 30 2022 Florian Weimer <fweimer@redhat.com> - 2.34-52
- Add noarch sysroot subpackages (#2149644)

* Tue Nov 29 2022 Florian Weimer <fweimer@redhat.com> - 2.34-51
- Prepare for integration of GCC 8 compatible _Static_assert (#2149102)

* Fri Nov 25 2022 Arjun Shankar <arjun@redhat.com> - 2.34-50
- Sync with upstream branch release/2.34/master,
  commit 405b8ae13540e9fd614df614e3361ebf9abd14cf:
- elf: Fix wrong fscanf usage on tst-pldd
- Allow for unpriviledged nested containers
- elf: Fix wrong fscanf usage on tst-pldd
- x86: Fix wcsnlen-avx2 page cross length comparison [BZ #29591]
- elf: Fix rtld-audit trampoline for aarch64

Resolves: #2149102
Resolves: #2149644
2022-12-05 18:01:18 +01:00
Arjun Shankar
1708d98eba Import glibc-2.34-49.fc35 from f35
* Mon Nov 14 2022 Arjun Shankar <arjun@redhat.com> - 2.34-49
- Sync with upstream branch release/2.34/master,
  commit: 75b0edb7ef338084e53925139ae81fb0dfc07dd4:
- Update NEWS file in the right place
- Linux: Support __IPC_64 in sysvctl *ctl command arguments (bug 29771)
- io: Fix use-after-free in ftw [BZ #26779]
- io: Fix ftw internal realloc buffer (BZ #28126)
- regex: fix buffer read overrun in search [BZ#28470]
- regex: copy back from Gnulib
- Allow #pragma GCC in headers in conformtest
- Fix memmove call in vfprintf-internal.c:group_number
- mktime: improve heuristic for ca-1986 Indiana DST
- Makerules: fix MAKEFLAGS assignment for upcoming make-4.4 [BZ# 29564]
- linux: Fix generic struct_stat for 64 bit time (BZ# 29657)
- elf: Do not completely clear reused namespace in dlmopen (bug 29600)
- nss: Use shared prefix in IPv4 address in tst-reload1
- nss: Fix tst-nss-files-hosts-long on single-stack hosts (bug 24816)
- nss: Implement --no-addrconfig option for getent

Resolves: #2141728
Resolves: #2110357
Resolves: #2141685
2022-11-14 21:09:51 +01:00
Arjun Shankar
e43852d149 Import glibc-2.34-48.fc35 from f35
* Thu Oct 13 2022 Arjun Shankar <arjun@redhat.com> - 2.34-48
- Handle non-hostname CNAME aliases during name resolution (#2129005)
- Sync with upstream branch release/2.34/master,
  commit e3976287b22422787f3cc6fc9adda58304b55bd9:
- nscd: Drop local address tuple variable [BZ #29607]
- x86-64: Require BMI1/BMI2 for AVX2 strrchr and wcsrchr implementations
- x86-64: Require BMI2 and LZCNT for AVX2 memrchr implementation
- x86-64: Require BMI2 for AVX2 (raw|w)memchr implementations
- x86-64: Require BMI2 for AVX2 wcs(n)cmp implementations
- x86-64: Require BMI2 for AVX2 strncmp implementation
- x86-64: Require BMI2 for AVX2 strcmp implementation
- x86-64: Require BMI2 for AVX2 str(n)casecmp implementations
- x86: include BMI1 and BMI2 in x86-64-v3 level
- nptl: Add backoff mechanism to spinlock loop
- sysdeps: Add 'get_fast_jitter' interace in fast-jitter.h
- nptl: Effectively skip CAS in spinlock loop
- Move assignment out of the CAS condition
- Add LLL_MUTEX_READ_LOCK [BZ #28537]
- Avoid extra load with CAS in __pthread_mutex_clocklock_common [BZ #28537]
- Avoid extra load with CAS in __pthread_mutex_lock_full [BZ #28537]
- resolv: Fix building tst-resolv-invalid-cname for earlier C standards
- nss_dns: Rewrite _nss_dns_gethostbyname4_r using current interfaces
- resolv: Add new tst-resolv-invalid-cname
- nss_dns: In gaih_getanswer_slice, skip strange aliases (bug 12154)
  (#2129005)
- nss_dns: Rewrite getanswer_r to match getanswer_ptr (bug 12154, bug 29305)
- nss_dns: Remove remnants of IPv6 address mapping
- nss_dns: Rewrite _nss_dns_gethostbyaddr2_r and getanswer_ptr
- nss_dns: Split getanswer_ptr from getanswer_r
- resolv: Add DNS packet parsing helpers geared towards wire format
- resolv: Add internal __ns_name_length_uncompressed function
- resolv: Add the __ns_samebinaryname function
- resolv: Add internal __res_binary_hnok function
- resolv: Add tst-resolv-aliases
- resolv: Add tst-resolv-byaddr for testing reverse lookup
- gconv: Use 64-bit interfaces in gconv_parseconfdir (bug 29583)
- elf: Fix hwcaps string size overestimation
- nscd: Fix netlink cache invalidation if epoll is used [BZ #29415]
- Apply asm redirections in wchar.h before first use
- Apply asm redirections in stdio.h before first use [BZ #27087]
- elf: Call __libc_early_init for reused namespaces (bug 29528)

Resolves: #2129005
Resolves: #2116960
2022-10-14 14:22:13 +02:00
Florian Weimer
6b1ce0df40 Import glibc-2.34-47.fc35 from f35
* Tue Oct 11 2022 Florian Weimer <fweimer@redhat.com> - 2.34-47
- Simplify the glibc system call profile (#2117712)

* Tue Oct 11 2022 Florian Weimer <fweimer@redhat.com> - 2.34-46
- DSO dependency sort must put new map first even if in cycle (#2128615)

* Tue Oct 11 2022 Florian Weimer <fweimer@redhat.com> - 2.34-45
- Run tst-audit-tlsdesc{,-dlopen} on all architectures (#2118666)

Resolves: RHELX-69
Resolves: #2118666
Resolves: #2128615
2022-10-11 16:16:48 +02:00