Commit Graph

209 Commits

Author SHA1 Message Date
Florian Weimer
52c06307bd Remove some unused ppc64le string functions (RHEL-60466)
The sysdeps/powerpc/powerpc64/strncmp.S variant crashes due to a page
boundary handling bug.  It is not used on ppc64le because the POWER8
variant takes precedence (and on RHEL9, we always use the POWER9
variant).  Upstream removed these old variants, so this commit just
backports it.  It avoids interfering with further testing.

Resolves: RHEL-60466
2024-09-27 12:58:09 +02:00
Arjun Shankar
d1f7c5caba Add new test for fread (RHEL-46735)
Resolves: RHEL-46735
2024-09-26 17:20:40 +02:00
Arjun Shankar
9bd80898a7 Add new test for fdopen (RHEL-46734)
Resolves: RHEL-46734
2024-09-26 16:05:40 +02:00
DJ Delorie
cc0b035e01 Add fgets testcases
Resolves: RHEL-46728
2024-09-24 20:41:54 -04:00
DJ Delorie
2ba780bc6b manual: Add Descriptor-Relative Access section
Resolves: RHEL-41189
2024-09-24 14:58:59 -04:00
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
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
Arjun Shankar
591bb6da2e Import glibc-2.34-44.fc35 from f35
* Thu Oct 06 2022 Arjun Shankar <arjun@redhat.com> - 2.34-44
- wrap-find-debuginfo.sh: Use nm --format=posix instead of --format=just-symbols

Resolves: #2115831
2022-10-06 17:14:28 +02:00
Arjun Shankar
d3604d02a2 Import glibc-2.34-43.fc35 from f35
* Mon Oct 03 2022 Arjun Shankar <arjun@redhat.com> - 2.34-43
- Remove .annobin* symbols from ld.so (#2126477)

Resolves: #2115831
2022-10-04 18:59:41 +02:00
Arjun Shankar
c3e41ff9aa Import glibc-2.34-42.fc35 from f35
* Tue Sep 06 2022 Arjun Shankar <arjun@redhat.com> - 2.34-42
- Co-Authored-By: Benjamin Herrenschmidt <benh@amazon.com>
- Retain .gnu_debuglink section in libc.so.6 (#2090744)
- Remove redundant ld.so debuginfo file (#2090744)

* Tue Aug 23 2022 Arjun Shankar <arjun@redhat.com> - 2.34-41
- Sync with upstream branch release/2.34/master,
  commit 68507377f249d165f1f35502d96e9365edb07d9a:
- socket: Check lengths before advancing pointer in CMSG_NXTHDR
- alpha: Fix generic brk system call emulation in __brk_call (bug 29490)
- stdlib: Fixup mbstowcs NULL __dst handling. [BZ #29279]
- stdlib: Remove attr_write from mbstows if dst is NULL [BZ: 29265]
- Update syscall lists for Linux 5.19
- dlfcn: Pass caller pointer to static dlopen implementation (bug 29446)

Resolves: #2115831
Resolves: #2116960
2022-09-23 14:51:51 +02:00
Arjun Shankar
668eaab0c7 Import glibc-2.34-40.fc35 from f35
* Fri Jul 22 2022 Arjun Shankar <arjun@redhat.com> - 2.34-40
- Sync with upstream branch release/2.34/master,
  commit b2f32e746492615a6eb3e66fac1e766e32e8deb1:
- malloc: Simplify implementation of __malloc_assert
- Update syscall-names.list for Linux 5.18
- x86: Add missing IS_IN (libc) check to strncmp-sse4_2.S
- x86: Move mem{p}{mov|cpy}_{chk_}erms to its own file
- x86: Move and slightly improve memset_erms
- x86: Add definition for __wmemset_chk AVX2 RTM in ifunc impl list
- x86: Put wcs{n}len-sse4.1 in the sse4.1 text section
- x86: Align entry for memrchr to 64-bytes.
- x86: Add BMI1/BMI2 checks for ISA_V3 check
- x86: Cleanup bounds checking in large memcpy case
- x86: Add bounds `x86_non_temporal_threshold`
- x86: Add sse42 implementation to strcmp's ifunc
- x86: Fix misordered logic for setting `rep_movsb_stop_threshold`
- x86: Align varshift table to 32-bytes
- x86: ZERO_UPPER_VEC_REGISTERS_RETURN_XTEST expect no transactions
- x86: Shrink code size of memchr-evex.S
- x86: Shrink code size of memchr-avx2.S
- x86: Optimize memrchr-avx2.S
- x86: Optimize memrchr-evex.S
- x86: Optimize memrchr-sse2.S
- x86: Add COND_VZEROUPPER that can replace vzeroupper if no `ret`
- x86: Create header for VEC classes in x86 strings library
- x86_64: Add strstr function with 512-bit EVEX
- x86-64: Ignore r_addend for R_X86_64_GLOB_DAT/R_X86_64_JUMP_SLOT
- x86_64: Implement evex512 version of strlen, strnlen, wcslen and wcsnlen
- x86_64: Remove bzero optimization
- x86_64: Remove end of line trailing spaces
- nptl: Fix ___pthread_unregister_cancel_restore asynchronous restore
- linux: Fix mq_timereceive check for 32 bit fallback code (BZ 29304)

Resolves: #2109505
2022-07-22 21:11:19 +02:00
Florian Weimer
bc1778ead1 Import glibc-2.34-39.fc35 from f35
* Fri Jun 24 2022 Florian Weimer <fweimer@redhat.com> - 2.34-39
- Add the no-aaaa DNS stub resolver option (#2096191)

Resolves: #2096191
2022-06-24 23:17:16 +02:00
Arjun Shankar
3aa2e0d8ed Import glibc-2.34-38.fc35 from f35
* Tue Jun 14 2022 Arjun Shankar <arjun@redhat.com> - 2.34-38
- Sync with upstream branch release/2.34/master,
  commit 94ab2088c37d8e4285354af120b7ed6b887b9e53:
- nss: handle stat failure in check_reload_and_get (BZ #28752)
- nss: add assert to DB_LOOKUP_FCT (BZ #28752)
- nios2: Remove _dl_skip_args usage (BZ# 29187)
- hppa: Remove _dl_skip_args usage (BZ# 29165)
- nptl: Fix __libc_cleanup_pop_restore asynchronous restore (BZ#29214)

Related: #2091541
Related: #2080163 (actually fixed in 601650f878, two commits ago)
2022-06-14 19:09:15 +02:00
Florian Weimer
5f265ff1c6 Import glibc-2.34-37.fc35 from f35
* Wed Jun  8 2022 Florian Weimer <fweimer@redhat.com> - 2.34-37
- Enable rseq by default and add GLIBC_2.35 rseq symbols (#2085529)

* Wed Jun  8 2022 Florian Weimer <fweimer@redhat.com> - 2.34-36
- Sync with upstream branch release/2.34/master,
  commit 4c92a1041257c0155c6aa7a182fe5f78e477b0e6:
- powerpc: Fix VSX register number on __strncpy_power9 [BZ #29197]
- socket: Fix mistyped define statement in socket/sys/socket.h (BZ #29225)
- iconv: Use 64 bit stat for gconv_parseconfdir (BZ# 29213)
- catgets: Use 64 bit stat for __open_catalog (BZ# 29211)
- inet: Use 64 bit stat for ruserpass (BZ# 29210)
- socket: Use 64 bit stat for isfdtype (BZ# 29209)
- posix: Use 64 bit stat for fpathconf (_PC_ASYNC_IO) (BZ# 29208)
- posix: Use 64 bit stat for posix_fallocate fallback (BZ# 29207)
- misc: Use 64 bit stat for getusershell (BZ# 29204)
- misc: Use 64 bit stat for daemon (BZ# 29203)

Resolves: #2085529
Resolves: #2091549
Related: #2091541
2022-06-08 17:01:17 +02:00