diff options
author | 2023-09-17 17:36:18 +0200 | |
---|---|---|
committer | 2023-10-12 21:14:12 +0200 | |
commit | e7b28f2516a6aec54e2aa1485e4806e8d8431815 (patch) | |
tree | 98ab9d25fc5622d9a2f34253d752000eeeaa3947 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tools/nolibc: avoid unused parameter warnings for ENOSYS fallbacks (diff) | |
download | wireguard-linux-e7b28f2516a6aec54e2aa1485e4806e8d8431815.tar.xz wireguard-linux-e7b28f2516a6aec54e2aa1485e4806e8d8431815.zip |
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
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions