Commit Graph

195 Commits

Author SHA1 Message Date
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
Sergey Kolosov
823c0aee76 CI Tests: add fmf test plan
Resolves: RHEL-65327
2025-01-08 19:01:11 +00: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
Bruno Goncalves
22b00cdcc7 add gating on kernel tests on aarch64 (RHELMISC-7545)
Related: RHELMISC-7545
2024-12-13 17:48:56 +00: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
Luigi Pellecchia
2fc78c10da Configure ci.fmf for depenency testing.
Enabled packages are RHIVOS core-rpms that has glibc as a dependency.

Resolves: VROOM-21016

Signed-off-by: Luigi Pellecchia <lpellecc@redhat.com>
2024-10-01 14:34:22 +00: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
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