Commit Graph

2015 Commits

Author SHA1 Message Date
Frédéric Bérat
c1d6fad5cc Extend scanf testing (RHEL-119433)
Resolves: RHEL-119433
2025-11-14 10:32:46 +00:00
Patsy Griffin
40ed261d94 Change utimensat to accept NULL pathname arguments (RHEL-119419)
Resolves: RHEL-119419
2025-11-12 13:40:21 +00:00
Florian Weimer
50e34d07ff patch-git: Support git worktree
After “git worktree”, .git is a text file, not a directory.

Resolves: RHEL-121947
2025-11-12 09:37:35 +00:00
Frédéric Bérat
b16cb36857 Extend fwrite testing; improve libio fwrite correctness (RHEL-119428)
Resolves: RHEL-119428
2025-11-07 07:59:10 +01:00
Frédéric Bérat
a3fbf57163 Extend printf family testing (RHEL-119390)
Resolves: RHEL-119390
2025-11-06 08:04:39 +00:00
DJ Delorie
ec3eae8e16 Extend TLS testing for multi-module and multi-threaded scenarios. (RHEL-119404)
Resolves: RHEL-119404
2025-11-05 14:55:33 -05:00
Frédéric Bérat
804ea8f5b4 Fix test-assert-2 failure (RHEL-126046)
Resolves: RHEL-126046
2025-11-05 12:20:03 +00:00
Frédéric Bérat
9b3349f867 Fix lint-Makefile failure (RHEL-126049)
Resolves: RHEL-126049
2025-11-04 14:26:15 +01:00
Florian Weimer
c3e975cbcf patch-git: Add auto-generated/ prefix to Source: files
This suppresses a centpkg pre-push-check failure.

Resolves: RHEL-121748
2025-11-03 11:33:57 +01:00
Frédéric Bérat
0cdd6d71bb Fix memory leak in freopen and improve testing
RPM-Changelog:
 - Fix memory leak in freopen, mode flag and wide-oriented stream handling (RHEL-115823)
 - Add comprehensive tests and document limitations (RHEL-115823)
Resolves: RHEL-115823
2025-10-30 13:36:52 +00:00
Frédéric Bérat
e97a907db2 Add libio test verifying fflush(FILE) and fflush(NULL) semantic equivalence (RHEL-119435)
Resolves: RHEL-119435
2025-10-29 10:01:44 +01:00
Patsy Griffin
e594f0dd8e manual: Improve documentation of the shutdown function (RHEL-117418)
Document the SHUT_* constants and attempt to explain the
implications for Linux TCP and UNIX domain sockets.

Resolves: RHEL-117418
2025-10-27 21:18:38 -04:00
Frédéric Bérat
d686f6fe8b Fix stdio input stream flushing and positioning behavior (RHEL-119434)
Resolves: RHEL-119434
2025-10-23 10:18:53 +02:00
DJ Delorie
02111ad8a7 assert: Improve POSIX conformance of allocation failure path (RHEL-119422)
Resolves: RHEL-119422
2025-10-22 19:14:06 +00:00
Frédéric Bérat
808ff574ad stdio: Guarantee ungetc single char pushback with FILE struct buffer (RHEL-119409)
Resolves: RHEL-119409
2025-10-22 11:55:26 +02:00
Frédéric Bérat
bff8e70b16 Add tests of time, gettimeofday, clock_gettime (RHEL-119386)
Resolves: RHEL-119386
2025-10-16 10:30:01 +02:00
Frédéric Bérat
18d86a450a Add test for pthread_getcpuclockid function (RHEL-119400)
Resolves: RHEL-119400
2025-10-13 14:27:58 +02:00
Frédéric Bérat
1c8abf48ab Extend sem_trywait testing with a threaded test (RHEL-119403)
Resolves: RHEL-119403
2025-10-08 08:55:56 +00:00
Frédéric Bérat
fd242e7aae sem_open: Avoid uninitialized result for non-existent files (RHEL-119392)
Resolves: RHEL-119392
2025-10-08 05:45:36 +00:00
Arjun Shankar
ac4d98ccf5 test-bz22786: Mark UNSUPPORTED on low memory systems (RHEL-119657)
Resolves: RHEL-119657
2025-10-07 15:41:12 +02:00
Arjun Shankar
9c81ff69ad libio: Add new tests for fclose on an unopened file (RHEL-115820)
Resolves: RHEL-115820
2025-10-06 15:29:30 +02:00
Frédéric Bérat
6973ecc6b0 pthread_timedjoin_np, pthread_clockjoin_np: Validate time arguments (RHEL-115825)
Resolves: RHEL-115825
2025-10-03 15:44:27 +02:00
DJ Delorie
d01369479c manual: Explain our implementation-defined memstream semantics (RHEL-65838)
Resolves: RHEL-65838
2025-10-01 16:16:58 -04:00
DJ Delorie
3a6256d935 rpminspect.yaml: note that glibc-minimal-langpack is empty (RHEL-116641)
This fixes the "continues to be empty" VERIFY from rpminspect.

Support for this was added by:
https://github.com/rpminspect/rpminspect/issues/1518

Resolves: RHEL-116641
RPM-Changelog: -
RPM-Skip-Release: yes
2025-09-30 16:07:41 -04:00
DJ Delorie
1e958220ab libio: asprintf should write NULL upon failure (RHEL-72244)
Resolves: RHEL-72244
2025-09-24 21:19:40 +00:00
Frédéric Bérat
7ef0dba232 Extend getline testing (RHEL-115819)
Resolves: RHEL-115819
2025-09-24 06:08:12 +00:00
Florian Weimer
e95aa14bd2 patch-git: Changelog formatting updates (RHEL-111490)
Long lines in changelogs are now word-wrapped automatically, unless
the changelog is explicitly formatted using "-  " lines.

RPM-Changelog: -
RPM-Skip-Release: yes
Related: RHEL-111490
2025-09-23 15:10:19 +00:00
Florian Weimer
a243a59e4e patch-git: Add assert_eq function for internal testing
RPM-Changelog: -
RPM-Skip-Release: yes
Related: RHEL-111490
2025-09-23 15:10:19 +00:00
Florian Weimer
6894c74dd1 patch-git: The emit_patchlist function should be local
Found by looking at:

luac -l -l patch-git.lua | grep -o '_ENV.*' | sort -u

RPM-Changelog: -
RPM-Skip-Release: yes
Related: RHEL-111490
2025-09-23 15:10:19 +00:00
Florian Weimer
cf728b3d9f patch-git: Add build instructions
Using rpm -i may not work as expected if $HOME/rpmbuild is not
empty.  Recommend to use mock or build directly out of dist-git
instead.

RPM-Changelog: -
RPM-Skip-Release: yes
Related: RHEL-111490
2025-09-23 12:18:10 +02:00
Frédéric Bérat
428f8d6f99 Implement _FORTIFY_SOURCE for inet_ntop and inet_pton (RHEL-111115)
Resolves: RHEL-111115
2025-09-22 17:01:30 +02:00
Arjun Shankar
df55530e13 nss: Fix incorrect/empty results when merging groups (RHEL-114265)
Resolves: RHEL-114265
2025-09-19 19:50:15 +02:00
Frédéric Bérat
e06f84e64b x86-64: Unconditionally run elf/check-dt-x86-64-plt test (RHEL-113195)
Resolves: RHEL-113195
2025-09-19 14:41:14 +00:00
Frédéric Bérat
3b4a80c65e Fix readdir_r error reporting and readdir64_r entry handling, extend dirent testing. (RHEL-111120)
Resolves: RHEL-111120
2025-09-19 13:11:28 +02:00
Frédéric Bérat
637af31dc7 Enable concurrent exit, quick_exit calls to prevent races (RHEL-111117)
Resolves: RHEL-111117
2025-09-16 13:19:48 +02:00
DJ Delorie
c72dda3ac8 Add rpminspect.yaml with expected failures (RHEL-86590)
Resolves: RHEL-86590
2025-09-12 12:17:45 -04:00
Florian Weimer
d88424cfec patch-git: Do not use --filter with --unshallow on old git versions
Before git 2.28, --filter cannot be used if the clone did not use
it.

Related: RHEL-111490
2025-09-10 18:48:58 +02:00
Florian Weimer
df18ac835e Switch to patch-git
After this, patch order follows commit order.  As a result,
some early patches get reordered from

Patch4: glibc-fedora-linux-tcsetattr.patch
Patch8: glibc-fedora-manual-dircategory.patch
Patch9: glibc-rh827510.patch
Patch13: glibc-fedora-localedata-rh61908.patch
Patch17: glibc-cs-path.patch
Patch23: glibc-python3.patch
Patch24: glibc-upstream-2.39-1.patch

to:

Patch1: glibc-rh827510.patch
Patch2: glibc-fedora-linux-tcsetattr.patch
Patch3: glibc-fedora-localedata-rh61908.patch
Patch4: glibc-fedora-manual-dircategory.patch
Patch5: glibc-cs-path.patch
Patch6: glibc-python3.patch
Patch7: glibc-upstream-2.39-1.patch

This still produces the same tree, so the reordering is harmless.

Resolves: RHEL-111490
Parent: 92dfd986b2
Patch-Git-Version: 1
RPM-Version: 2.39
RPM-Release: 60%{?dist}
RPM-Changelog-Stop: yes
2025-09-09 17:26:56 +02:00
Arjun Shankar
92dfd986b2 glibc-locale-source: Require gzip to handle compressed charmaps (RHEL-102553)
Resolves: RHEL-102553
2025-08-26 12:31:04 +02:00
Florian Weimer
f30223ea76 Use Requires(pre): libgcc%{_isa} to break libgcc cycle (RHEL-110559)
The libgcc package may pick up symbol version dependencies on
GLIBC_ABI_DT_X86_64_PLT, GLIBC_ABI_GNU2_TLS in the future.

Resolves: RHEL-110559
2025-08-21 14:15:05 +02:00
Arjun Shankar
53f4d259fa Sync with upstream branch release/2.39/master (RHEL-109536)
Upstream commit: fffc2df8a3e2c8cda2991063d23086360268b777

- i386: Provide GLIBC_ABI_GNU_TLS symbol version [BZ #33221]
- i386: Update ___tls_get_addr to preserve vector registers
- Extend struct r_debug to support multiple namespaces (RHEL-101985)
- Fix a potential crash in the dynamic loader when processing specific
  symbol versions (RHEL-109683)
- Signal la_objopen for ld.so with dlmopen (RHEL-109693)
- Switch to main malloc after final ld.so self-relocation (RHEL-109703)
- Prevent ld.so from asserting and crashing during audited library loads
  (RHEL-109702)
- x86-64: Provide GLIBC_ABI_DT_X86_64_PLT symbol version (RHEL-109621)
- x86-64, i386: Provide GLIBC_ABI_GNU2_TLS symbol version (RHEL-109625)
- Ensure fallback initialization of ctype TLS data pointers to fix segfaults in
  programs using dlmopen or auditors (RHEL-72018)
- Handle load segment gaps in _dl_find_object (RHEL-104854)
- AArch64: Improve codegen in SVE log1p
- AArch64: Optimize inverse trig functions
- AArch64: Avoid memset ifunc in cpu-features.c [BZ #33112]

Resolves: RHEL-109536

Resolves: RHEL-72018
Resolves: RHEL-101985
Resolves: RHEL-104854
Resolves: RHEL-109621
Resolves: RHEL-109625
Resolves: RHEL-109683
Resolves: RHEL-109693
Resolves: RHEL-109702
Resolves: RHEL-109703
2025-08-21 10:25:39 +02:00
Arjun Shankar
9c6db562f1 Add FUSE based tests for fchmod, lstat, and mkstemp (RHEL-108823)
Resolves: RHEL-108823
2025-08-19 10:10:08 +02:00
Arjun Shankar
ca8e2eea50 Various updates to the manual from upstream (RHEL-108974)
Resolves: RHEL-108974
2025-08-14 11:21:59 +02:00
Frédéric Bérat
d19eb70013 Fix memory leak after fdopen seek failure
- Backport: Remove memory leak in fdopen (bug 31840)
- Backport: libio: Test for fdopen memory leak without SEEK_END
  support (bug 31840)

Resolves: RHEL-108475
2025-08-11 14:28:18 +02:00
Frédéric Bérat
46a31fdf25 Updated glibc to support Linux 6.15 kernel system calls and constants.
- Backport: Update syscall lists for Linux 6.8
- Backport: Update kernel version to 6.8 in header constant tests
- Backport: Update syscall lists for Linux 6.9
- Backport: Update PIDFD_* constants for Linux 6.9
- Backport: Update kernel version to 6.9 in header constant tests
- Backport: linux: add definitions for hugetlb page size encodings
- Backport: Update syscall lists for Linux 6.10
- Backport: Update kernel version to 6.10 in header constant tests
- Backport: Linux: Add missing scheduler constants to <sched.h>
- Backport: Update syscall lists for Linux 6.11
- Backport: Update PIDFD_* constants for Linux 6.11
- Backport: linux: Add MAP_DROPPABLE from Linux 6.11
- Backport: Update kernel version to 6.11 in header constant tests
- Backport: Update syscall lists for Linux 6.12
- Backport: Update kernel version to 6.12 in header constant tests
- Backport: Add SCHED_EXT from Linux 6.12 to bits/sched.h
- Backport: Update syscall lists for Linux 6.13
- Backport: Update kernel version to 6.13 in header constant tests
- Backport: Update syscall lists for Linux 6.14
- Backport: Update syscall lists for Linux 6.15

Resolves: RHEL-107695
2025-08-08 10:42:54 +02:00
Frédéric Bérat
22e43fce78 Fix changelog for RHEL-58357
The changelog didn't meet the standard.

Related: RHEL-58357
2025-08-08 10:17:26 +02:00
Frédéric Bérat
f8b71945b7 Added sched_setattr and sched_getattr functions to glibc.
- Backport: stdlib: Do not use GLIBC_PRIVATE ABI for errno in libc_nonshared.a
- Backport: manual: Extract the @manpageurl{func,sec} macro
- Backport: Linux: Add the sched_setattr and sched_getattr functions
  Note: The patch has been adapted downstream to avoid ABI changes
- Backport: Linux: Add missing scheduler constants to <sched.h>
- Backport: Linux: Do not check unused bytes after sched_getattr in tst-sched_setattr
- Backport: Linux: Add the pthread_gettid_np function (bug 27880)
  Note: The patch has been adapted downstream to avoid ABI changes
- Backport: Linux: Remove attribute access from sched_getattr (bug 32781)
- Backport: Linux: Add new test misc/tst-sched_setattr-thread
- Backport: nptl: Include <stdbool.h> in tst-pthread_gettid_np.c
- Backport: Makefile: Clean up pthread_atfork integration
- Backport: manual: fix typo for sched_[sg]etattr

Resolves: RHEL-58357
2025-08-07 16:07:09 +02:00
Frédéric Bérat
5a17d40420 Enhanced glibc documentation for core descriptor APIs.
- Backport: manual: add dup3
- Backport: manual: add syscalls
- Adapt man pages version downstream

Resolves: RHEL-107861
2025-08-07 14:24:15 +02:00
Arjun Shankar
5e0f6b30b8 Improve test coverage (RHEL-106562)
Resolves: RHEL-106562
2025-08-06 15:02:01 +02:00
Florian Weimer
0d5bc43414 x86_64, aarch64: More CPU output in ld.so --list-diagnostics (RHEL-107540)
Resolves: RHEL-107540
2025-08-05 16:30:24 +02:00