Hi Thomas,
On Sun, Apr 05, 2026 at 11:06:22AM +0200, Thomas Weißschuh wrote:
> The standard syscall() function or macro uses the libc return value
> convention. Errors returned from the kernel as negative values are
> stored in errno and -1 is returned. Users which want to avoid using
^^^^^
s/which/who :-)
> errno don't have a way to call raw syscalls and check the returned
> error.
>
> Add a new macro _syscall() which works like the standard syscall()
> but passes through the return value from the kernel unchanged.
>
> Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Nice and clean! For the whole series:
Acked-by: Willy Tarreau <w@1wt.eu>
Thanks!
Willy