Commit Graph

198 Commits

Author SHA1 Message Date
Frédéric Bérat
19df5781cb Support concurrent calls to exit
And lock all stdio streams during exit

Resolves: RHEL-65358
2025-01-14 09:52:10 +01:00
Frédéric Bérat
bd7cb93842 Fix changelog for RHEL-56541
RHEL-56541 got already fixed together with RHEL-56542, updating the
changelog.

Resolves: RHEL-56541
2025-01-10 18:48:18 +01:00
Frédéric Bérat
514106f5dd Backport: Fix bug bz#27454 and test implementation to verify fdopendir behavior
Resolves: RHEL-56544
2025-01-10 14:07:27 +01:00
Frédéric Bérat
f25b783f76 Backport the deallocation attributes commit for opendir/fdopendir
Resolves: RHEL-56543
2025-01-10 14:01:21 +01:00
Frédéric Bérat
d2c49567f7 Backport test implementation to verify readdir behavior
Resolves: RHEL-56542
2025-01-10 11:22:50 +01:00
Frédéric Bérat
08cb9d7284 Backport: Improve sem_trywait test coverage
Resolves: RHEL-65354
2025-01-09 13:33:09 +01:00
Frédéric Bérat
4086c82030 Backport: Implement test to verify dynamic linker behaves correctly in case of hash collision for the symbol name and symbol version.
Resolves: RHEL-58979
2025-01-09 13:33:09 +01:00
Frédéric Bérat
dcd1aa0255 Backport: Improve pthread_spin_trylock test coverage
Resolves: RHEL-61568
2025-01-09 13:33:09 +01:00
Frédéric Bérat
323df51371 Backport: debug/tst-longjmp_chk3 needs to be enabled
Resolves: RHEL-68850
2025-01-09 13:33:09 +01:00
Frédéric Bérat
13a2c1bb05 Backport pthread_getcpuclockid tests
Resolves: RHEL-70395
2025-01-09 13:33:09 +01:00
Frédéric Bérat
473cc7998b Backport new multi-threaded test for sem_getvalue
Resolves: RHEL-69028
2025-01-09 13:33:09 +01:00
Frédéric Bérat
3b322d9996 Backport testsuite fixes for rhel-57588, rhel-57589, and rhel-57590
Resolves: RHEL-65910
2025-01-09 13:33:09 +01:00
Frédéric Bérat
fe757a315a Backport: Identify unsafe macros in the glibc documentation.
Resolves: RHEL-46740
2025-01-09 13:33:09 +01:00
Frédéric Bérat
513884a413 Backport elf/tst-startup-errno test
Resolves: RHEL-58671
2025-01-09 13:33:09 +01:00
Frédéric Bérat
b339cb6eb4 Backport test implementation to verify rewinddir behavior
Resolves: RHEL-56540
2025-01-09 13:33:09 +01:00
Frédéric Bérat
6818485a9d Backport test implementation to verify lstat behavior
Resolves: RHEL-56539
2025-01-09 13:33:09 +01:00
Frédéric Bérat
e73ffcf128 Backport: cover the documentation coverage gap adding thread safety annotations for clock_gettime and clock_getres
Resolves: RHEL-57586
2025-01-09 13:33:09 +01:00
Frédéric Bérat
de2aa73d68 Backport mkdirat mode test
Resolves: RHEL-56743
2025-01-09 13:33:09 +01:00
Frédéric Bérat
0f8a066654 Backport getdelim test coverage improvements
Resolves: RHEL-54250
2025-01-09 13:33:09 +01:00
Frédéric Bérat
6a258f46b8 Backport verbosity patches for glibc math
Resolves: RHEL-38225
2025-01-09 13:33:09 +01:00
Frédéric Bérat
7c11f24237 Backport: fix the glibc manual to handle spaces for @deftypefun references.
Resolves: RHEL-65356
2025-01-09 13:33:09 +01:00
DJ Delorie
e7f2c8230d Increase ungetc test coverage, guarantee single char pushback (RHEL-46738)
Resolves: RHEL-46738
2024-12-20 14:19:15 -05:00
Florian Weimer
2fc4b325a8 Make getenv thread-safe in more cases (RHEL-67692)
Resolves: RHEL-67692
2024-12-16 18:53:37 +01:00
Florian Weimer
fb0599e12c Use UsrMove (Changes/UsrMerge) path destination in the RPMs (RHEL-65334)
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-65334
2024-12-13 19:22:02 +01:00
Florian Weimer
901a0b41b3 Rework filelist construction
Eliminate most pattern matching and list files explicitly.  Two
common exceptions are modeled explicitly: libmvec (additional shared
object and static library), libnldbl (additional shared object).

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-65334
2024-12-13 19:22:02 +01:00
Florian Weimer
d19a50e449 Hard-code ld.so paths for all architectures
Vaguely based on Fedora commit 7749ea58a9e2198f830d6eb8b162344aaf8acb84.

Co-authored-by: Tulio Magno Quites Machado Filho <tuliom@redhat.com>
Related: RHEL-65334
2024-12-13 19:22:02 +01:00
DJ Delorie
e62097ee2d Add GB18030-2022 charmap and tests (RHEL-56032)
Resolves: RHEL-56032
2024-12-05 17:57:47 -05:00
Florian Weimer
6beea7eb54 Document struct link_map and interaction with dlinfo (RHEL-47467)
Resolves: RHEL-47467
2024-12-02 11:43:17 +01:00
Patsy Griffin
1ae6242e8b iconv: Support in-place conversions (RHEL-1915)
Resolves: RHEL-1915
2024-11-21 11:36:45 -05:00
Florian Weimer
e56f6d3b52 Add printf function family tests (RHEL-46725)
Resolves: RHEL-46725
2024-11-18 16:09:30 +01:00
Arjun Shankar
9f5423a440 Add error and FUSE based tests for fchmod (RHEL-50548)
Resolves: RHEL-50548
2024-11-11 18:26:37 +01:00
Florian Weimer
9c1694b310 Add more tests for freopen (RHEL-46736)
Resolves: RHEL-46736
2024-11-07 20:20:03 +01:00
Florian Weimer
a2d1e68858 Add more tests of getline (RHEL-54413)
Resolves: RHEL-54413
2024-11-07 18:52:42 +01:00
Florian Weimer
9d46c1dd61 Add fclose testcases (RHEL-46733)
Resolves: RHEL-46733
2024-11-07 16:40:49 +01:00
Florian Weimer
0ce6757412 Fix memory leak after fdopen seek failure (RHEL-66253)
Resolves: RHEL-66253
2024-11-07 14:48:23 +01:00
Florian Weimer
c6a316c547 Document rules for mixing stdio streams and file descriptors (RHEL-46724)
Resolves: RHEL-46724
2024-11-07 09:39:00 +01:00
Patsy Griffin
c711e702dd Support clearing options in /etc/resolv.conf, RES_OPTIONS with a - prefix.
Introduce the strict-error/RES_STRICTERR stub resolver option (RHEL-50662)

Resolves: RHEL-50662
2024-11-06 15:42:54 -05:00
DJ Delorie
6fbaa68419 Test Implementation to verify mkstemp behavior (RHEL-50545)
Resolves: RHEL-50545

Includes base FUSE filesystem testing framework support.
2024-11-06 13:49:54 -05:00
Arjun Shankar
66024333e7 strtod: Fix subnormal rounding & errno; add new tests (RHEL-46739)
Resolves: RHEL-46739
2024-09-30 11:57:47 +02:00
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