[GIT PULL] nolibc changes for v6.11

From: Paul E. McKenney
Date: Mon Jul 15 2024 - 18:27:00 EST


Hello, Linus,

Please please pull the latest nolibc changes from:

git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git tags/nolibc.2024.07.15a
# HEAD: 6ca8f2e20bd1ced8a7cd12b3ae4b1ceca85cfc2b: selftests: kselftest: also use strerror() on nolibc (2024-06-29 09:44:58 +0200)

----------------------------------------------------------------
nolibc updates for v6.11

o Fix selftest printf format mismatch in expect_str_buf_eq().

o Stop using brk() and sbrk() when testing against musl, which
implements these two functions with ENOMEM.

o Make tests use -Werror to force failure on compiler warnings.

o Add limits for the {u,}intmax_t, ulong and {u,}llong types.

o Implement strtol() and friends.

o Add facility to skip nolibc-specific tests when running against
non-nolibc libraries.

o Implement strerror().

o Also use strerror() on nolibc when running kselftests.

----------------------------------------------------------------
Thomas Weißschuh (8):
selftests/nolibc: fix printf format mismatch in expect_str_buf_eq()
selftests/nolibc: disable brk()/sbrk() tests on musl
selftests/nolibc: run-tests.sh: use -Werror by default
tools/nolibc: add limits for {u,}intmax_t, ulong and {u,}llong
tools/nolibc: implement strtol() and friends
selftests/nolibc: introduce condition to run tests only on nolibc
tools/nolibc: implement strerror()
selftests: kselftest: also use strerror() on nolibc

tools/include/nolibc/stdint.h | 19 +++++
tools/include/nolibc/stdio.h | 10 +++
tools/include/nolibc/stdlib.h | 109 +++++++++++++++++++++++++++
tools/testing/selftests/kselftest.h | 8 --
tools/testing/selftests/nolibc/Makefile | 2 +-
tools/testing/selftests/nolibc/nolibc-test.c | 109 ++++++++++++++++++++++-----
tools/testing/selftests/nolibc/run-tests.sh | 9 ++-
7 files changed, 238 insertions(+), 28 deletions(-)