nolibc changes for 6.20/7.0
Hi Linus,
The following changes since commit 8f0b4cce4481fb22653697cced8d0d04027cb1e8:
Linux 6.19-rc1 (2025-12-14 16:05:07 +1200)
are available in the Git repository at:
ssh://[email protected]/pub/scm/linux/kernel/git/nolibc/linux-nolibc.git/ tags/nolibc-20260206-for-7.0-1
for you to fetch changes up to a5f00be9b3b07d92c6689997403851a32e1874cc:
tools/nolibc: Add a simple test for writing to a FILE and reading it back (2026-01-11 12:47:47 +0100)
----------------------------------------------------------------
nolibc changes for 6.20/7.0
Highlights:
* All time-related functionality uses 64-bit timestamps for y2038 compatibility.
* fread() and fskeek() support.
* ptrace() support.
* Addition of libc-test to the regular kselftests.
* Smaller cleanups and fixes to the code and build system.
----------------------------------------------------------------
Benjamin Berg (1):
tools/nolibc: add ptrace support
Daniel Palmer (3):
tools/nolibc: Add fread() to stdio.h
tools/nolibc: Add fseek() to stdio.h
tools/nolibc: Add a simple test for writing to a FILE and reading it back
Thomas Weißschuh (21):
tools/nolibc: always use 64-bit mode for s390 header checks tools/nolibc/poll: use kernel types for system call invocations tools/nolibc/poll: drop __NR_poll fallback tools/nolibc/select: drop non-pselect based implementations tools/nolibc/time: drop invocation of gettimeofday system call tools/nolibc: prefer explicit 64-bit time-related system calls tools/nolibc/gettimeofday: avoid libgcc 64-bit divisions tools/nolibc/select: avoid libgcc 64-bit multiplications tools/nolibc: use custom structs timespec and timeval tools/nolibc: always use 64-bit time types selftests/nolibc: test compatibility of nolibc and kernel time types tools/nolibc: remove time conversions
tools/nolibc: add compiler version detection macros tools/nolibc: add __nolibc_static_assert() selftests/nolibc: add static assertions around time types handling selftests/nolibc: drop NOLIBC_SYSROOT=0 logic
tools/nolibc: align sys_vfork() with sys_fork() selftests/nolibc: always build sparc32 tests with -mcpu=v8 selftests/nolibc: try to read from stdin in readv_zero test selftests/nolibc: scope custom flags to the nolibc-test target selftests/nolibc: also test libc-test through regular selftest framework
tools/include/nolibc/Makefile | 6 +- tools/include/nolibc/arch-s390.h | 11 +++ tools/include/nolibc/compiler.h | 24 ++++++ tools/include/nolibc/nolibc.h | 1 + tools/include/nolibc/poll.h | 14 ++-- tools/include/nolibc/std.h | 2 +- tools/include/nolibc/stdio.h | 53 ++++++++++++- tools/include/nolibc/sys.h | 18 ++--- tools/include/nolibc/sys/ptrace.h | 33 ++++++++ tools/include/nolibc/sys/select.h | 25 ++---- tools/include/nolibc/sys/time.h | 6 +- tools/include/nolibc/sys/timerfd.h | 32 +++----- tools/include/nolibc/time.h | 102 +++++++++---------------- tools/include/nolibc/types.h | 17 ++++- tools/testing/selftests/nolibc/Makefile | 14 ++-- tools/testing/selftests/nolibc/Makefile.nolibc | 8 +- tools/testing/selftests/nolibc/nolibc-test.c | 86 ++++++++++++++++++++- 17 files changed, 299 insertions(+), 153 deletions(-) create mode 100644 tools/include/nolibc/sys/ptrace.h
The pull request you sent on Fri, 6 Feb 2026 22:26:00 +0100:
The pull request you sent on Fri, 6 Feb 2026 22:26:00 +0100:
Quoted 1 line
ssh://[email protected]/pub/scm/linux/kernel/git/nolibc/linux-nolibc.git/ tags/nolibc-20260206-for-7.0-1
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/861ea34546dcde8600878d5e7f746795f22fc818
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html