diff options
| author | Paul Dolan <paul.dolan.dev@gmail.com> | 2026-09-02 18:49:39 +0100 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-09-04 09:49:41 +0200 |
| commit | aeebb4884f0e8feb9929f013067488b7f2081f33 (patch) | |
| tree | cebfbf884cbb9967a5dd32693e292dfd84a1004c /tools/lib/python/kdoc/python_version.py | |
| parent | e07df64b616723f30c6caa100adcfa3dfb8a19a6 (diff) | |
selftests/clone3: tighten CLONE_CLEAR_SIGHAND conflict test
The CLONE_CLEAR_SIGHAND test intends to verify that
CLONE_CLEAR_SIGHAND and CLONE_SIGHAND are mutually exclusive. However,
CLONE_SIGHAND without CLONE_VM is independently invalid, so the test
input has another reason to fail with EINVAL.
Add CLONE_VM so that CLONE_SIGHAND is otherwise valid, and require
clone3() to fail with EINVAL. This ensures the test exercises the
intended flag conflict and does not accept an unrelated failure.
Fixes: de5287235631 ("tests: test CLONE_CLEAR_SIGHAND")
Signed-off-by: Paul Dolan <paul.dolan.dev@gmail.com>
Link: https://patch.msgid.link/20260902174939.15135-1-paul.dolan.dev@gmail.com
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
