Home
last modified time | relevance | path

Searched refs:recycled_pid (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/
H A Dpidfd_test.c245 pid_t recycled_pid; in test_pidfd_send_signal_recycled_pid_fail() local
252 recycled_pid = fork(); in test_pidfd_send_signal_recycled_pid_fail()
253 if (recycled_pid < 0) in test_pidfd_send_signal_recycled_pid_fail()
256 if (recycled_pid == 0) { in test_pidfd_send_signal_recycled_pid_fail()
269 ret = kill(recycled_pid, SIGSTOP); in test_pidfd_send_signal_recycled_pid_fail()
272 (void)wait_for_pid(recycled_pid); in test_pidfd_send_signal_recycled_pid_fail()
281 if (recycled_pid == PID_RECYCLE) { in test_pidfd_send_signal_recycled_pid_fail()
291 ret = kill(recycled_pid, SIGCONT); in test_pidfd_send_signal_recycled_pid_fail()
293 (void)kill(recycled_pid, SIGKILL); in test_pidfd_send_signal_recycled_pid_fail()
295 if (wait_for_pid(recycled_pid)) in test_pidfd_send_signal_recycled_pid_fail()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/pidfd/
H A Dpidfd_test.c246 pid_t recycled_pid; in test_pidfd_send_signal_recycled_pid_fail() local
253 recycled_pid = fork(); in test_pidfd_send_signal_recycled_pid_fail()
254 if (recycled_pid < 0) in test_pidfd_send_signal_recycled_pid_fail()
257 if (recycled_pid == 0) { in test_pidfd_send_signal_recycled_pid_fail()
270 ret = kill(recycled_pid, SIGSTOP); in test_pidfd_send_signal_recycled_pid_fail()
273 (void)wait_for_pid(recycled_pid); in test_pidfd_send_signal_recycled_pid_fail()
282 if (recycled_pid == PID_RECYCLE) { in test_pidfd_send_signal_recycled_pid_fail()
292 ret = kill(recycled_pid, SIGCONT); in test_pidfd_send_signal_recycled_pid_fail()
294 (void)kill(recycled_pid, SIGKILL); in test_pidfd_send_signal_recycled_pid_fail()
296 if (wait_for_pid(recycled_pid)) in test_pidfd_send_signal_recycled_pid_fail()
[all...]

Completed in 2 milliseconds