[GIT PULL] nolibc changes for v6.4

From: Paul E. McKenney
Date: Tue Apr 11 2023 - 19:20:24 EST


Hello, Linus,

Once the v6.4 merge window opens, please pull these nolibc changes from:

git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git tags/nolibc.2023.04.04a
# HEAD: 0d8c461adbc4a43736927f93db69ae376efbc2f1: tools/nolibc: x86_64: add stackprotector support (2023-03-27 16:26:10 -0700)

----------------------------------------------------------------
nolibc updates for v6.4

o Add support for loongarch.

o Fix stack-protector issues.

o Support additional integral types and signal-related macros.

o Add support for stdin, stdout, and stderr.

o Add getuid() and geteuid().

o Allow S_I* macros to be overridden by program.

o Defer to linux/fcntl.h and linux/stat.h to avoid duplicate
definitions.

o Many improvements to the self tests.

----------------------------------------------------------------
Feiyang Chen (5):
tools/nolibc: Include linux/fcntl.h and remove duplicate code
tools/nolibc: Add statx() and make stat() rely on statx() if necessary
tools/nolibc: Add support for LoongArch
selftests/nolibc: Add support for LoongArch
selftests/nolibc: Adjust indentation for Makefile

Paul E. McKenney (1):
tools/nolibc: Add gitignore to avoid git complaints about sysroot

Thomas Weißschuh (9):
tools/nolibc: always disable stack protector for tests
tools/nolibc: add definitions for standard fds
tools/nolibc: add helpers for wait() signal exits
tools/nolibc: tests: constify test_names
tools/nolibc: add support for stack protector
tools/nolibc: tests: fold in no-stack-protector cflags
tools/nolibc: tests: add test for -fstack-protector
tools/nolibc: i386: add stackprotector support
tools/nolibc: x86_64: add stackprotector support

Vincent Dagonneau (4):
tools/nolibc: add stdint.h
tools/nolibc: add integer types and integer limit macros
tools/nolibc: enlarge column width of tests
tools/nolibc: add tests for the integer limits in stdint.h

Willy Tarreau (3):
tools/nolibc: add getuid() and geteuid()
selftests/nolibc: skip the chroot_root and link_dir tests when not privileged
tools/nolibc: check for S_I* macros before defining them

tools/include/nolibc/.gitignore | 1 +
tools/include/nolibc/Makefile | 4 +-
tools/include/nolibc/arch-i386.h | 7 +-
tools/include/nolibc/arch-loongarch.h | 200 ++++++++++++++++++++++++
tools/include/nolibc/arch-x86_64.h | 5 +
tools/include/nolibc/arch.h | 2 +
tools/include/nolibc/nolibc.h | 1 +
tools/include/nolibc/stackprotector.h | 53 +++++++
tools/include/nolibc/std.h | 15 +-
tools/include/nolibc/stdint.h | 99 ++++++++++++
tools/include/nolibc/sys.h | 100 +++++++++++-
tools/include/nolibc/types.h | 30 +++-
tools/include/nolibc/unistd.h | 5 +
tools/testing/selftests/nolibc/Makefile | 90 ++++++-----
tools/testing/selftests/nolibc/nolibc-test.c | 221 ++++++++++++++++++++-------
15 files changed, 718 insertions(+), 115 deletions(-)
create mode 100644 tools/include/nolibc/.gitignore
create mode 100644 tools/include/nolibc/arch-loongarch.h
create mode 100644 tools/include/nolibc/stackprotector.h
create mode 100644 tools/include/nolibc/stdint.h