Re: [PATCH] tools/nolibc: align sys_vfork() with sys_fork()
From: Willy Tarreau
Date: Mon Jan 05 2026 - 02:46:57 EST
On Sun, Jan 04, 2026 at 11:43:13PM +0100, Thomas Weißschuh wrote:
> Currently the generic variants of sys_fork() and sys_vfork() differ in
> both they precedence of used system calls and the usage of sys_clone()
> vs sys_clone3(). While the interface of clone3() in sys_vfork() is more
> consistent over different architectures, qemu-user does not support it,
> making testing harder. We already handle the different clone()
> interfaces for sys_fork() in the architecture-specific headers, and can
> do so also for sys_vfork(). In fact SPARC already has such handling and
> only s390 is currently missing.
>
> Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
LGTM.
Acked-by: Willy Tarreau <w@xxxxxx>
thanks,
Willy