Re: [PATCH 2/6] selftests/clone3: add a check for invalid exit_signal

2019-09-16 Thread shuah
On 9/10/19 6:03 AM, Eugene Syromiatnikov wrote: Check that the kernel fails calls with exit_signal with non-zero highest 32 bits. Describe what you are testing: "Add a test case for clone3() non-zero highest 32 bits behavior. It should fail with exit_signal value??" Add checks for unsupporte

[PATCH 2/6] selftests/clone3: add a check for invalid exit_signal

2019-09-10 Thread Eugene Syromiatnikov
Check that the kernel fails calls with exit_signal with non-zero highest 32 bits. * tools/testing/selftests/clone3/clone3.c (enum test_mode): Add CLONE3_ARGS_BIG_EXIT_SIGNAL. (call_clone3): Add args.exit_signal initialisation in case test_mode == CLONE3_ARGS_BIG_EXIT_SIGNAL. (main): Add test_clone