selftests/clone3: test clone3 with exit signal in flags
authorTobias Klauser <tklauser@distanz.ch>
Thu, 4 May 2023 08:59:30 +0000 (10:59 +0200)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 12 Jun 2023 22:39:11 +0000 (16:39 -0600)
commitc4f461a113ec3a523a0b5b35ed9ebd90d4145672
treed5b0cac7fcce0703f97fb71b71695b328edaa972
parent375b9ff53cb6f9c042817b75f2be0a650626dc4f
selftests/clone3: test clone3 with exit signal in flags

Verify that calling clone3 with an exit signal (SIGCHLD) in flags will
fail.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/clone3/clone3.c