Re: [PATCH 1/3] selftests/clone3: flush stdout and stderr before clone3() and _exit()

From: Christian Brauner
Date: Mon Nov 18 2019 - 03:24:57 EST


On Mon, Nov 18, 2019 at 08:37:47AM +0100, Christian Brauner wrote:
> On Sun, Nov 17, 2019 at 10:47:48PM -0800, Andrei Vagin wrote:
> > Buffers have to be flushed before clone3() to avoid double messages in
> > the log.
> >
> > Signed-off-by: Andrei Vagin <avagin@xxxxxxxxx>
>
> Thanks, Andrei!
> Acked-by: Christian Brauner <christian.brauner@xxxxxxxxxx>

I pushed another small change on top of your changes which takes care to
skip clone3() tests whenever the syscall is not supported:

https://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux.git/commit/?h=pidfd&id=11fde161ab37f2938504bf896b48afbd18ea71cd

Christian