[PATCH nolibc 0/15] nolibc updates for v6.5]

Paul E. McKenney
2023-05-18T14:55:18Z

Hello!

This series contains nolibc updates for v6.5:

1. tools/nolibc: tests: use volatile to force stack smashing,
courtesy of Thomas Weißschuh.

2. tools/nolibc: tests: fix build on non-c99 compliant compilers,
courtesy of Willy Tarreau.

3. tools/nolibc: fix build of the test case using glibc, courtesy
of Willy Tarreau.

4. tools/nolibc: add libc-test binary, courtesy of
Thomas Weißschuh.

5. tools/nolibc: add wrapper for memfd_create, courtesy of
Thomas Weißschuh.

6. tools/nolibc: implement fd-based FILE streams, courtesy of
Thomas Weißschuh.

7. tools/nolibc: add testcases for vfprintf, courtesy of
Thomas Weißschuh.

8. tools/nolibc: Fix build of stdio.h due to header ordering,
courtesy of Mark Brown.

9. tools/nolibc: use standard __asm__ statements, courtesy of
Thomas Weißschuh.

10. tools/nolibc: use __inline__ syntax, courtesy of
Thomas Weißschuh.

11. tools/nolibc: use C89 comment syntax, courtesy of
Thomas Weißschuh.

12. tools/nolibc: validate C89 compatibility, courtesy of
Thomas Weißschuh.

13. tools/nolibc: s390: provide custom implementation for sys_fork,
courtesy of Thomas Weißschuh.

14. tools/nolibc: add testcase for fork()/waitpid(), courtesy of
Thomas Weißschuh.

15. tools/nolibc: remove LINUX_REBOOT_ constants, courtesy of
Thomas Weißschuh.

Thanx, Paul

------------------------------------------------------------------------

b/tools/include/nolibc/arch-aarch64.h | 32 +++---
b/tools/include/nolibc/arch-arm.h | 44 ++++----
b/tools/include/nolibc/arch-i386.h | 40 ++++----
b/tools/include/nolibc/arch-loongarch.h | 38 +++----
b/tools/include/nolibc/arch-mips.h | 56 +++++------
b/tools/include/nolibc/arch-riscv.h | 40 ++++----
b/tools/include/nolibc/arch-s390.h | 2
b/tools/include/nolibc/arch-x86_64.h | 34 +++---
b/tools/include/nolibc/nolibc.h | 2
b/tools/include/nolibc/stackprotector.h | 4
b/tools/include/nolibc/stdio.h | 95 +++++++++++++------
b/tools/include/nolibc/stdlib.h | 18 +--
b/tools/include/nolibc/string.h | 4
b/tools/include/nolibc/sys.h | 23 ++++
b/tools/include/nolibc/types.h | 8 -
b/tools/testing/selftests/nolibc/.gitignore | 1
b/tools/testing/selftests/nolibc/Makefile | 6 +
b/tools/testing/selftests/nolibc/nolibc-test.c | 8 -
tools/include/nolibc/arch-s390.h | 9 +
tools/include/nolibc/sys.h | 11 +-
tools/testing/selftests/nolibc/Makefile | 2
tools/testing/selftests/nolibc/nolibc-test.c | 125 +++++++++++++++++++++++--
22 files changed, 391 insertions(+), 211 deletions(-)