Thomas Weißschuh e7b28f2516 tools/nolibc: don't define new syscall number
All symbols created by nolibc are also visible to user code.
Syscall constants are expected to come from the kernel headers and
should not be made up by nolibc.

Refactor the logic to avoid defining syscall numbers.
Also the new code is easier to understand.

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-3-03863d509b9a@weissschuh.net
2023-10-12 21:14:12 +02:00
..
2023-09-07 13:52:20 -07:00
2023-09-09 20:06:17 -07:00
2023-09-09 20:06:17 -07:00
2023-09-09 20:06:17 -07:00
2023-04-18 14:22:12 -07:00