Re: [PATCH 3/4] tools/nolibc: don't define new syscall number

From: Willy Tarreau
Date: Sat Sep 16 2023 - 23:01:15 EST


On Thu, Sep 14, 2023 at 06:01:19PM +0200, Thomas Weißschuh wrote:
> 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@xxxxxxxxxxxxxx>

Yeah that's a good point!

Acked-by: Willy Tarreau <w@xxxxxx>
Willy