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

Willy Tarreau w at 1wt.eu
Sat Sep 16 19:59:45 PDT 2023


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 at weissschuh.net>

Yeah that's a good point!

Acked-by: Willy Tarreau <w at 1wt.eu>
Willy



More information about the linux-riscv mailing list