| 4d5483a4 | 20-Mar-2025 |
Christian Brauner <[email protected]> |
selftests/pidfd: third test for multi-threaded exec polling
Ensure that during a multi-threaded exec and premature thread-group leader exit no exit notification is generated.
Link: https://lore.ker
selftests/pidfd: third test for multi-threaded exec polling
Ensure that during a multi-threaded exec and premature thread-group leader exit no exit notification is generated.
Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christian Brauner <[email protected]>
show more ...
|
| 9b6f723d | 20-Mar-2025 |
Christian Brauner <[email protected]> |
selftests/pidfd: second test for multi-threaded exec polling
Ensure that during a multi-threaded exec and premature thread-group leader exit no exit notification is generated.
Link: https://lore.ke
selftests/pidfd: second test for multi-threaded exec polling
Ensure that during a multi-threaded exec and premature thread-group leader exit no exit notification is generated.
Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christian Brauner <[email protected]>
show more ...
|
| 1c4f2dbe | 05-Mar-2025 |
Christian Brauner <[email protected]> |
selftests/pidfd: add sixth PIDFD_INFO_EXIT selftest
Add a selftest for PIDFD_INFO_EXIT behavior.
Link: https://lore.kernel.org/r/20250305-work-pidfs-kill_on_last_close-v3-15-c8c3d8361705@kernel.org
selftests/pidfd: add sixth PIDFD_INFO_EXIT selftest
Add a selftest for PIDFD_INFO_EXIT behavior.
Link: https://lore.kernel.org/r/20250305-work-pidfs-kill_on_last_close-v3-15-c8c3d8361705@kernel.org Signed-off-by: Christian Brauner <[email protected]>
show more ...
|
| 2adf6ca6 | 05-Mar-2025 |
Christian Brauner <[email protected]> |
selftests/pidfd: add fifth PIDFD_INFO_EXIT selftest
Add a selftest for PIDFD_INFO_EXIT behavior.
Link: https://lore.kernel.org/r/20250305-work-pidfs-kill_on_last_close-v3-14-c8c3d8361705@kernel.org
selftests/pidfd: add fifth PIDFD_INFO_EXIT selftest
Add a selftest for PIDFD_INFO_EXIT behavior.
Link: https://lore.kernel.org/r/20250305-work-pidfs-kill_on_last_close-v3-14-c8c3d8361705@kernel.org Signed-off-by: Christian Brauner <[email protected]>
show more ...
|
| 2e94e4c6 | 05-Mar-2025 |
Christian Brauner <[email protected]> |
selftests/pidfd: add fourth PIDFD_INFO_EXIT selftest
Add a selftest for PIDFD_INFO_EXIT behavior.
Link: https://lore.kernel.org/r/20250305-work-pidfs-kill_on_last_close-v3-13-c8c3d8361705@kernel.or
selftests/pidfd: add fourth PIDFD_INFO_EXIT selftest
Add a selftest for PIDFD_INFO_EXIT behavior.
Link: https://lore.kernel.org/r/20250305-work-pidfs-kill_on_last_close-v3-13-c8c3d8361705@kernel.org Signed-off-by: Christian Brauner <[email protected]>
show more ...
|
| a79975f0 | 05-Mar-2025 |
Christian Brauner <[email protected]> |
selftests/pidfd: add third PIDFD_INFO_EXIT selftest
Add a selftest for PIDFD_INFO_EXIT behavior.
Link: https://lore.kernel.org/r/20250305-work-pidfs-kill_on_last_close-v3-12-c8c3d8361705@kernel.org
selftests/pidfd: add third PIDFD_INFO_EXIT selftest
Add a selftest for PIDFD_INFO_EXIT behavior.
Link: https://lore.kernel.org/r/20250305-work-pidfs-kill_on_last_close-v3-12-c8c3d8361705@kernel.org Signed-off-by: Christian Brauner <[email protected]>
show more ...
|
| 86c1dfdd | 05-Mar-2025 |
Christian Brauner <[email protected]> |
selftests/pidfd: add second PIDFD_INFO_EXIT selftest
Add a selftest for PIDFD_INFO_EXIT behavior.
Link: https://lore.kernel.org/r/20250305-work-pidfs-kill_on_last_close-v3-11-c8c3d8361705@kernel.or
selftests/pidfd: add second PIDFD_INFO_EXIT selftest
Add a selftest for PIDFD_INFO_EXIT behavior.
Link: https://lore.kernel.org/r/20250305-work-pidfs-kill_on_last_close-v3-11-c8c3d8361705@kernel.org Signed-off-by: Christian Brauner <[email protected]>
show more ...
|
| 18938f71 | 05-Mar-2025 |
Christian Brauner <[email protected]> |
pidfs/selftests: ensure correct headers for ioctl handling
Ensure that necessary ioctl infrastructure is available.
Link: https://lore.kernel.org/r/20250305-work-pidfs-kill_on_last_close-v3-8-c8c3d
pidfs/selftests: ensure correct headers for ioctl handling
Ensure that necessary ioctl infrastructure is available.
Link: https://lore.kernel.org/r/20250305-work-pidfs-kill_on_last_close-v3-8-c8c3d8361705@kernel.org Signed-off-by: Christian Brauner <[email protected]>
show more ...
|
| 2bbf47f2 | 30-Jan-2025 |
Lorenzo Stoakes <[email protected]> |
selftests/pidfd: add tests for PIDFD_SELF_*
Add tests to assert that PIDFD_SELF* correctly refers to the current thread and process.
We explicitly test pidfd_send_signal(), however We defer testing
selftests/pidfd: add tests for PIDFD_SELF_*
Add tests to assert that PIDFD_SELF* correctly refers to the current thread and process.
We explicitly test pidfd_send_signal(), however We defer testing of mm-specific functionality which uses pidfd, namely process_madvise() and process_mrelease() to mm testing (though note the latter can not be sensibly tested as it would require the testing process to be dying).
We also correct the pidfd_open_test.c fields which refer to .request_mask whereas the UAPI header refers to .mask, which otherwise break the import of the UAPI header.
Signed-off-by: Lorenzo Stoakes <[email protected]> Link: https://lore.kernel.org/r/7ab0e48b26ba53abf7b703df2dd11a2e99b8efb2.1738268370.git.lorenzo.stoakes@oracle.com Reviewed-by: Shakeel Butt <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
show more ...
|
| 821bc4a8 | 11-May-2024 |
Mickaël Salaün <[email protected]> |
selftests/pidfd: Fix wrong expectation
Replace a wrong EXPECT_GT(self->child_pid_exited, 0) with EXPECT_GE(), which will be actually tested on the parent and child sides with a following commit.
Cc
selftests/pidfd: Fix wrong expectation
Replace a wrong EXPECT_GT(self->child_pid_exited, 0) with EXPECT_GE(), which will be actually tested on the parent and child sides with a following commit.
Cc: Shuah Khan <[email protected]> Reviewed-by: Kees Cook <[email protected]> Reviewed-by: Christian Brauner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mickaël Salaün <[email protected]>
show more ...
|