Re: [PATCH v2] powerpc: Wire up clone3 syscall
From: Michael Ellerman <hidden>
Date: 2019-07-30 22:50:16
Also in:
lkml
From: Michael Ellerman <hidden>
Date: 2019-07-30 22:50:16
Also in:
lkml
On Wed, 2019-07-24 at 14:02:59 UTC, Michael Ellerman wrote:
Wire up the new clone3 syscall added in commit 7f192e3cd316 ("fork:
add clone3").
This requires a ppc_clone3 wrapper, in order to save the non-volatile
GPRs before calling into the generic syscall code. Otherwise we hit
the BUG_ON in CHECK_FULL_REGS in copy_thread().
Lightly tested using Christian's test code on a Power8 LE VM.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>Applied to powerpc fixes. https://git.kernel.org/powerpc/c/cee3536d24a1d5db66b9f68c3ece0af128187ab4 cheers