tools/nolibc: automatically detect necessity to use pselect6
authorThomas Weißschuh <linux@weissschuh.net>
Sun, 17 Sep 2023 15:36:19 +0000 (17:36 +0200)
committerThomas Weißschuh <linux@weissschuh.net>
Thu, 12 Oct 2023 19:14:13 +0000 (21:14 +0200)
commiteaa8c9a8b4027e4f780ebd2f6d0e91812467f312
treedcce6d51c56faba6f802220984c35ac10ab992d2
parente7b28f2516a6aec54e2aa1485e4806e8d8431815
tools/nolibc: automatically detect necessity to use pselect6

We can automatically detect if pselect6 is needed or not from the kernel
headers. This removes the need to manually specify it.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://lore.kernel.org/r/20230917-nolibc-syscall-nr-v2-4-03863d509b9a@weissschuh.net
tools/include/nolibc/arch-aarch64.h
tools/include/nolibc/arch-loongarch.h
tools/include/nolibc/arch-riscv.h
tools/include/nolibc/sys.h