• Linus Torvalds's avatar
    Merge tag 'linux-kselftest-nolibc-6.6-rc1' of... · 1c59d383
    Linus Torvalds authored
    Merge tag 'linux-kselftest-nolibc-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
    
    Pull nolibc updates from Shuah Khan:
     "Nolibc:
       - improved portability by removing build errors with -ENOSYS
       - added syscall6() on MIPS to support pselect6() and mmap()
       - added setvbuf(), rmdir(), pipe(), pipe2()
       - add support for ppc/ppc64
       - environ is no longer optional
       - fixed frame pointer issues at -O0
       - dropped sys_stat() in favor of sys_statx()
       - centralized _start_c() to remove lots of asm code
       - switched size_t to __SIZE_TYPE__
    
      Selftests:
       - improved status reporting (success/warning/failure counts, path to
         log file)
       - various code cleanups (indent, unused variables, ...)
       - more consistent test numbering
       - enabled compiler warnings
       - dropped unreliable chmod_net test
       - improved reliability (create /dev/zero & /tmp, rely less on /proc)
       - new tests (brk/sbrk/mmap/munmap)
       - improved compatibility with musl
       - new run-nolibc-test target to build and run natively
       - new run-libc-test target to build and run against native libc
       - made the cmdline parser more reliable against boolean arguments
       - dropped dependency on memfd for vfprintf() test
       - nolibc-test is no longer stripped
       - added support for extending ARCH via XARCH
    
      Other:
       - add Thomas as co-maintainer"
    
    * tag 'linux-kselftest-nolibc-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: (103 commits)
      tools/nolibc: avoid undesired casts in the __sysret() macro
      tools/nolibc: keep brk(), sbrk(), mmap() away from __sysret()
      tools/nolibc: silence ppc64 compile warnings
      selftests/nolibc: libc-test: use HOSTCC instead of CC
      tools/nolibc: stackprotector.h: make __stack_chk_init static
      selftests/nolibc: allow report with existing test log
      selftests/nolibc: add test support for ppc64
      selftests/nolibc: add test support for ppc64le
      selftests/nolibc: add test support for ppc
      selftests/nolibc: add XARCH and ARCH mapping support
      tools/nolibc: add support for powerpc64
      tools/nolibc: add support for powerpc
      MAINTAINERS: nolibc: add myself as co-maintainer
      selftests/nolibc: enable compiler warnings
      selftests/nolibc: don't strip nolibc-test
      selftests/nolibc: prevent out of bounds access in expect_vfprintf
      selftests/nolibc: use correct return type for read() and write()
      selftests/nolibc: avoid sign-compare warnings
      selftests/nolibc: avoid unused parameter warnings
      selftests/nolibc: make functions static if possible
      ...
    1c59d383
nolibc-test.c 41.6 KB