All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] tools/nolibc: reduce __nolibc_enosys() fallbacks
@ 2025-08-21 15:40 Thomas Weißschuh
  2025-08-21 15:40 ` [PATCH 1/7] tools/nolibc: remove __nolibc_enosys() fallback from time64-related functions Thomas Weißschuh
                   ` (7 more replies)
  0 siblings, 8 replies; 14+ messages in thread
From: Thomas Weißschuh @ 2025-08-21 15:40 UTC (permalink / raw)
  To: Willy Tarreau, Catalin Marinas, Will Deacon, Shuah Khan
  Cc: Mark Brown, linux-kernel, linux-arm-kernel, linux-kselftest,
	Thomas Weißschuh

The __nolibc_enosys() fallback is used when the UAPI headers do not
provide a certain syscall number or any possible fallback syscall.
This is either because the syscall definition is fairly new and nolibc
tries to be compatible with old UAPI headers or an architecture does not
support a syscall at all.
Many of these __nolibc_enosys() fallbacks have become unnecessary.
Either because the "new" syscalls or not so new anymore or real
fallbacks have been implemented in the meantime.

Unnecessary usages of __nolibc_enosys() as it is not obvious anymore if
a given function is really implemented on all architectures.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Thomas Weißschuh (7):
      tools/nolibc: remove __nolibc_enosys() fallback from time64-related functions
      tools/nolibc: remove __nolibc_enosys() fallback from *at() functions
      tools/nolibc: remove __nolibc_enosys() fallback from dup2()
      tools/nolibc: remove __nolibc_enosys() fallback from fork functions
      tools/nolibc: fold llseek fallback into lseek()
      kselftest/arm64: tpidr2: Switch to waitpid() over wait4()
      tools/nolibc: drop wait4() support

 tools/include/nolibc/poll.h                |  4 +-
 tools/include/nolibc/sys.h                 | 90 +++++++++---------------------
 tools/include/nolibc/sys/timerfd.h         |  8 +--
 tools/include/nolibc/sys/wait.h            | 17 ------
 tools/include/nolibc/time.h                |  8 +--
 tools/testing/selftests/arm64/abi/tpidr2.c |  6 +-
 6 files changed, 34 insertions(+), 99 deletions(-)
---
base-commit: 850047b19741490631855a475ccaa3ed29316039
change-id: 20250821-nolibc-enosys-2b2ec0b505ba

Best regards,
-- 
Thomas Weißschuh <linux@weissschuh.net>



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2025-10-07 10:03 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-21 15:40 [PATCH 0/7] tools/nolibc: reduce __nolibc_enosys() fallbacks Thomas Weißschuh
2025-08-21 15:40 ` [PATCH 1/7] tools/nolibc: remove __nolibc_enosys() fallback from time64-related functions Thomas Weißschuh
2025-10-01  7:43   ` Arnd Bergmann
2025-10-06 20:14     ` Thomas Weißschuh
2025-10-07 10:03       ` Arnd Bergmann
2025-08-21 15:40 ` [PATCH 2/7] tools/nolibc: remove __nolibc_enosys() fallback from *at() functions Thomas Weißschuh
2025-08-21 15:40 ` [PATCH 3/7] tools/nolibc: remove __nolibc_enosys() fallback from dup2() Thomas Weißschuh
2025-08-21 15:40 ` [PATCH 4/7] tools/nolibc: remove __nolibc_enosys() fallback from fork functions Thomas Weißschuh
2025-08-21 15:40 ` [PATCH 5/7] tools/nolibc: fold llseek fallback into lseek() Thomas Weißschuh
2025-08-21 15:40 ` [PATCH 6/7] kselftest/arm64: tpidr2: Switch to waitpid() over wait4() Thomas Weißschuh
2025-08-21 17:41   ` Mark Brown
2025-08-26 19:35   ` Catalin Marinas
2025-08-21 15:40 ` [PATCH 7/7] tools/nolibc: drop wait4() support Thomas Weißschuh
2025-08-23 10:28 ` [PATCH 0/7] tools/nolibc: reduce __nolibc_enosys() fallbacks Willy Tarreau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.